diff --git a/wrap/Qualified.h b/wrap/Qualified.h index e96ecb4c2..dae45f6ce 100644 --- a/wrap/Qualified.h +++ b/wrap/Qualified.h @@ -179,7 +179,10 @@ public: /// the Cython class in pxd std::string cythonClass() const { - return qualifiedName("_", 1); + if (isEigen()) + return name_ + "Xd"; + else + return qualifiedName("_", 1); } /// the Python class in pyx