File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,8 @@ namespace eigenpy
104104 NumpyMatrixType = reinterpret_cast <PyTypeObject*>(NumpyMatrixObject.ptr ());
105105 NumpyArrayObject = pyModule.attr (" ndarray" );
106106 NumpyArrayType = reinterpret_cast <PyTypeObject*>(NumpyArrayObject.ptr ());
107+ NumpyAsMatrixObject = pyModule.attr (" asmatrix" );
108+ NumpyAsMatrixType = reinterpret_cast <PyTypeObject*>(NumpyAsMatrixObject.ptr ());
107109
108110 CurrentNumpyType = NumpyMatrixObject; // default conversion
109111 }
@@ -113,6 +115,7 @@ namespace eigenpy
113115
114116 // Numpy types
115117 bp::object NumpyMatrixObject; PyTypeObject * NumpyMatrixType;
118+ bp::object NumpyAsMatrixObject; PyTypeObject * NumpyAsMatrixType;
116119 bp::object NumpyArrayObject; PyTypeObject * NumpyArrayType;
117120 };
118121
You can’t perform that action at this time.
0 commit comments