diff --git a/src/details.hpp b/src/details.hpp index 406b1338937e46d14fe81a7ec67bb45325b8496c..5a69885b4ee8ca9adac911aef52839d96a39ed33 100644 --- a/src/details.hpp +++ b/src/details.hpp @@ -207,8 +207,8 @@ namespace eigenpy template<typename MatType,typename EigenEquivalentType> void enableEigenPySpecific() { - if(check_registration<MatType>()) return; numpy_import_array(); + if(check_registration<MatType>()) return; boost::python::to_python_converter<MatType,EigenToPy<MatType,MatType> >(); EigenFromPy<MatType,MatType>();