fix the Jacobi bug, expand unit test

This commit is contained in:
Benoit Jacob
2010-10-12 09:43:40 -04:00
parent 75e60121f4
commit 12a152031d
2 changed files with 7 additions and 4 deletions

View File

@@ -87,6 +87,9 @@ void test_jacobi()
CALL_SUBTEST_4(( jacobi<MatrixXf, float>(MatrixXf(r,c)) ));
CALL_SUBTEST_5(( jacobi<MatrixXcd, double>(MatrixXcd(r,c)) ));
CALL_SUBTEST_5(( jacobi<MatrixXcd, std::complex<double> >(MatrixXcd(r,c)) ));
// complex<float> is really important to test as it is the only way to cover conjugation issues in certain unaligned paths
CALL_SUBTEST_6(( jacobi<MatrixXcf, float>(MatrixXcf(r,c)) ));
CALL_SUBTEST_6(( jacobi<MatrixXcf, std::complex<float> >(MatrixXcf(r,c)) ));
(void) r;
(void) c;
}