From 12a152031d46b6b73c27e7876fef81eae10aafc2 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Tue, 12 Oct 2010 09:43:40 -0400 Subject: fix the Jacobi bug, expand unit test --- test/jacobi.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/jacobi.cpp') 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(r,c)) )); CALL_SUBTEST_5(( jacobi(MatrixXcd(r,c)) )); CALL_SUBTEST_5(( jacobi >(MatrixXcd(r,c)) )); + // complex is really important to test as it is the only way to cover conjugation issues in certain unaligned paths + CALL_SUBTEST_6(( jacobi(MatrixXcf(r,c)) )); + CALL_SUBTEST_6(( jacobi >(MatrixXcf(r,c)) )); (void) r; (void) c; } -- cgit v1.2.3