aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/jacobi.cpp
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-10-12 09:43:40 -0400
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-10-12 09:43:40 -0400
commit12a152031d46b6b73c27e7876fef81eae10aafc2 (patch)
tree172c810455824cd9bcd522b214da16e065fd14e2 /test/jacobi.cpp
parent75e60121f4116d8fd71916d13a5b2a39322b679c (diff)
fix the Jacobi bug, expand unit test
Diffstat (limited to 'test/jacobi.cpp')
-rw-r--r--test/jacobi.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/jacobi.cpp b/test/jacobi.cpp
index eb839fa77..1c8d96e3c 100644
--- a/test/jacobi.cpp
+++ b/test/jacobi.cpp
@@ -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;
}