From 892b9264a46ea8edea53563ac068710924ff5620 Mon Sep 17 00:00:00 2001 From: Duy-Nguyen Ta Date: Tue, 13 Sep 2016 21:20:08 -0400 Subject: [PATCH] correct Eigency name for Eigen type --- wrap/Qualified.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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