Update vector binding to work with new pybind11
This commit is contained in:
@@ -21,13 +21,14 @@ m.def("internal_angles_using_squared_edge_lengths", []
|
||||
}, __doc_igl_internal_angles,
|
||||
py::arg("L_sq"), py::arg("K"));
|
||||
|
||||
m.def("internal_angles_using_edge_lengths", []
|
||||
(
|
||||
const Eigen::MatrixXd& L,
|
||||
Eigen::MatrixXd& K
|
||||
)
|
||||
{
|
||||
return igl::internal_angles_using_edge_lengths(L, K);
|
||||
}, __doc_igl_internal_angles,
|
||||
py::arg("L"), py::arg("K"));
|
||||
//m.def("internal_angles_using_edge_lengths", []
|
||||
//(
|
||||
// const Eigen::MatrixXd& L,
|
||||
// Eigen::MatrixXd& K
|
||||
//)
|
||||
//{
|
||||
// return igl::internal_angles_using_edge_lengths(L, K);
|
||||
//}, __doc_igl_internal_angles,
|
||||
//py::arg("L"), py::arg("K"));
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user