Skip to content

Commit

Permalink
correctly export constructor and fix other exports
Browse files Browse the repository at this point in the history
  • Loading branch information
DomFijan committed Nov 5, 2024
1 parent d01949c commit 0208c74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions freud/environment/export-LocalDescriptors.cc
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ void export_LocalDescriptors(nb::module_& module)
.export_values();

nb::class_<LocalDescriptors>(module, "LocalDescriptors")
.def(nb::init<>())
.def(nb::init<unsigned int, bool, LocalDescriptorOrientation>())
.def("getNList", &LocalDescriptors::getNList)
.def("getSphArray", &LocalDescriptors::getSphArray)
.def("getSph", &LocalDescriptors::getSph)
.def("getNSphs", &LocalDescriptors::getNSphs)
.def("getLMax", &LocalDescriptors::getLMax)
.def("getNegativeM", &LocalDescriptors::getNegativeM)
.def("getMode", &LocalDescriptors::getMode)
.def("compute", &wrap::compute,nb::arg("nq"),
nb::arg("query_points"), nb::arg("n_query_points"), nb::arg("orientations"),
nb::arg("query_points"), nb::arg("n_query_points"), nb::arg("orientations").none(),
nb::arg("nlist").none(),
nb::arg("qargs"), nb::arg("max_num_neighbors"));
}
Expand Down

0 comments on commit 0208c74

Please sign in to comment.