Skip to content
Snippets Groups Projects
Verified Commit 3d102a9e authored by Justin Carpentier's avatar Justin Carpentier
Browse files

test: fix issue with former Eigen version

parent 0d0b9a13
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ Eigen::Matrix<std::complex<Scalar>,Rows,Cols,Options>
ascomplex(const Eigen::Matrix<Scalar,Rows,Cols,Options> & mat)
{
typedef Eigen::Matrix<std::complex<Scalar>,Rows,Cols,Options> ReturnType;
return ReturnType(mat);
return ReturnType(mat.template cast<std::complex<Scalar> >());
}
BOOST_PYTHON_MODULE(complex)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment