Allow ComplexEigenSolver and ComplexSchur to work with real matrices.

Add a test which covers this case.
This commit is contained in:
Jitse Niesen
2010-03-20 17:04:40 +00:00
parent d3e271c47e
commit d91ffffc37
3 changed files with 8 additions and 7 deletions

View File

@@ -61,5 +61,6 @@ void test_eigensolver_complex()
CALL_SUBTEST_1( eigensolver(Matrix4cf()) );
CALL_SUBTEST_2( eigensolver(MatrixXcd(14,14)) );
CALL_SUBTEST_3( eigensolver(Matrix<std::complex<float>, 1, 1>()) );
CALL_SUBTEST_4( eigensolver(Matrix3f()) );
}
}