diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-11-23 10:13:21 -0500 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-11-23 10:13:21 -0500 |
commit | 44d0d667cd629a18e29b9c248633891c1b04f75c (patch) | |
tree | 9df7106246634e052c2686371f20e1c07325eeb0 /test/inverse.cpp | |
parent | 06f11f337951982f240c161933229812c391e979 (diff) |
4x4 inverse:
* change block selection threshold from 1e-2 to 1e-1
* add rigorous precision test
Diffstat (limited to 'test/inverse.cpp')
-rw-r--r-- | test/inverse.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/inverse.cpp b/test/inverse.cpp index 3ed61d356..59b791507 100644 --- a/test/inverse.cpp +++ b/test/inverse.cpp @@ -104,12 +104,4 @@ void test_inverse() s = ei_random<int>(25,100); CALL_SUBTEST_6( inverse(MatrixXcd(s,s)) ); } - -#ifdef EIGEN_TEST_PART_4 - // test some tricky cases for 4x4 matrices - VERIFY_IS_APPROX((Matrix4f() << 0,0,1,0, 1,0,0,0, 0,1,0,0, 0,0,0,1).finished().inverse(), - (Matrix4f() << 0,1,0,0, 0,0,1,0, 1,0,0,0, 0,0,0,1).finished()); - VERIFY_IS_APPROX((Matrix4f() << 1,0,0,0, 0,0,1,0, 0,0,0,1, 0,1,0,0).finished().inverse(), - (Matrix4f() << 1,0,0,0, 0,0,0,1, 0,1,0,0, 0,0,1,0).finished()); -#endif } |