From 44d0d667cd629a18e29b9c248633891c1b04f75c Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 23 Nov 2009 10:13:21 -0500 Subject: 4x4 inverse: * change block selection threshold from 1e-2 to 1e-1 * add rigorous precision test --- test/inverse.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'test/inverse.cpp') 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(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 } -- cgit v1.2.3