Update vector binding to work with new pybind11
This commit is contained in:
@@ -1,13 +1,3 @@
|
||||
m.def("boundary_facets", []
|
||||
(
|
||||
const std::vector<std::vector<int> > & T,
|
||||
std::vector<std::vector<int> > & F
|
||||
)
|
||||
{
|
||||
return igl::boundary_facets(T,F);
|
||||
}, __doc_igl_boundary_facets,
|
||||
py::arg("T"), py::arg("F"));
|
||||
|
||||
m.def("boundary_facets", []
|
||||
(
|
||||
const Eigen::MatrixXi& T,
|
||||
@@ -28,3 +18,13 @@ m.def("boundary_facets", []
|
||||
return F;
|
||||
}, __doc_igl_boundary_facets,
|
||||
py::arg("T"));
|
||||
|
||||
m.def("boundary_facets", []
|
||||
(
|
||||
const std::vector<std::vector<int> > & T,
|
||||
std::vector<std::vector<int> > & F
|
||||
)
|
||||
{
|
||||
return igl::boundary_facets(T,F);
|
||||
}, __doc_igl_boundary_facets,
|
||||
py::arg("T"), py::arg("F"));
|
||||
|
||||
Reference in New Issue
Block a user