We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d0b9a1 commit 3d102a9Copy full SHA for 3d102a9
unittest/complex.cpp
@@ -56,7 +56,7 @@ Eigen::Matrix<std::complex<Scalar>,Rows,Cols,Options>
56
ascomplex(const Eigen::Matrix<Scalar,Rows,Cols,Options> & mat)
57
{
58
typedef Eigen::Matrix<std::complex<Scalar>,Rows,Cols,Options> ReturnType;
59
- return ReturnType(mat);
+ return ReturnType(mat.template cast<std::complex<Scalar> >());
60
}
61
62
BOOST_PYTHON_MODULE(complex)
0 commit comments