Skip to content
Snippets Groups Projects
Commit d43c336c authored by jcarpent's avatar jcarpent
Browse files

[C++] Fix bug in call of import_array

parent cfcc81e2
No related branches found
No related tags found
No related merge requests found
......@@ -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>();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment