diff --git a/src/eigenpy.cpp b/src/eigenpy.cpp index dd245f793d9dfb7d29459346e06f5c0b5490b1e9..25bd51aa3711056be27aabfdeda7265f712333f2 100644 --- a/src/eigenpy.cpp +++ b/src/eigenpy.cpp @@ -17,6 +17,9 @@ namespace eigenpy bp::def("setNumpyType",&NumpyType::setNumpyType, bp::arg("Numpy type (np.ndarray or np.matrix)"), "Change the type returned by the converters from an Eigen object."); + + bp::def("getNumpyType",&NumpyType::getNumpyType, + "Get the Numpy type returned by the converters from an Eigen object."); bp::def("switchToNumpyArray",&NumpyType::switchToNumpyArray, "Set the conversion from Eigen::Matrix to numpy.ndarray.");