Commit d43c336c authored by jcarpent's avatar jcarpent
Browse files

[C++] Fix bug in call of import_array

parent cfcc81e2
......@@ -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>();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment