diff --git a/include/eigenpy/details.hpp b/include/eigenpy/details.hpp
index 693a4b723ce201a6c2fb3a93ce19d7aa87b0ee0b..b26af7d26afe4495d35978ed5935d43262241387 100644
--- a/include/eigenpy/details.hpp
+++ b/include/eigenpy/details.hpp
@@ -104,8 +104,8 @@ namespace eigenpy
       NumpyMatrixType = reinterpret_cast<PyTypeObject*>(NumpyMatrixObject.ptr());
       NumpyArrayObject = pyModule.attr("ndarray");
       NumpyArrayType = reinterpret_cast<PyTypeObject*>(NumpyArrayObject.ptr());
-      NumpyAsMatrixObject = pyModule.attr("asmatrix");
-      NumpyAsMatrixType = reinterpret_cast<PyTypeObject*>(NumpyAsMatrixObject.ptr());
+      //NumpyAsMatrixObject = pyModule.attr("asmatrix");
+      //NumpyAsMatrixType = reinterpret_cast<PyTypeObject*>(NumpyAsMatrixObject.ptr());
       
       CurrentNumpyType = NumpyMatrixObject; // default conversion
     }
@@ -115,7 +115,7 @@ namespace eigenpy
     
     // Numpy types
     bp::object NumpyMatrixObject; PyTypeObject * NumpyMatrixType;
-    bp::object NumpyAsMatrixObject; PyTypeObject * NumpyAsMatrixType;
+    //bp::object NumpyAsMatrixObject; PyTypeObject * NumpyAsMatrixType;
     bp::object NumpyArrayObject; PyTypeObject * NumpyArrayType;
   };