correct Eigency name for Eigen type

release/4.3a0
Duy-Nguyen Ta 2016-09-13 21:20:08 -04:00
parent 2433cbd8e8
commit 892b9264a4
1 changed files with 4 additions and 1 deletions

View File

@ -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