diff --git a/src/details.hpp b/src/details.hpp
index 467ce71de80fd98da310f699733c3835ec76d311..0cef1a370a074c3d37ec44f726e8d9d25a5ddacb 100644
--- a/src/details.hpp
+++ b/src/details.hpp
@@ -168,7 +168,6 @@ namespace eigenpy
     static void construct(PyObject* pyObj,
 			  bp::converter::rvalue_from_python_stage1_data* memory)
     {
-      typedef typename MatType::Scalar T;
       using namespace Eigen;
 
       PyArrayObject * pyArray = reinterpret_cast<PyArrayObject*>(pyObj);