aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-11-25 09:08:03 -0500
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-11-25 09:08:03 -0500
commit1e2bcba5e4b481c72a9d4b2db563f711d13865e5 (patch)
treee6116e5a9938b488a53fbb3f881a80c172275b93 /test
parent684d76eba3244d5ae75602b8ec06e81ef74da79b (diff)
forward port slight changes in the 4x4 inverse test
Diffstat (limited to 'test')
-rw-r--r--test/prec_inverse_4x4.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/prec_inverse_4x4.cpp b/test/prec_inverse_4x4.cpp
index c5c7af5d2..613535346 100644
--- a/test/prec_inverse_4x4.cpp
+++ b/test/prec_inverse_4x4.cpp
@@ -79,7 +79,7 @@ template<typename MatrixType> void inverse_general_4x4(int repeat)
do {
m = MatrixType::Random();
absdet = ei_abs(m.determinant());
- } while(absdet < 2*epsilon<Scalar>() );
+ } while(absdet < 10 * epsilon<Scalar>());
MatrixType inv = m.inverse();
double error = double( (m*inv-MatrixType::Identity()).norm() * absdet / epsilon<Scalar>() );
error_sum += error;
@@ -90,7 +90,7 @@ template<typename MatrixType> void inverse_general_4x4(int repeat)
EIGEN_DEBUG_VAR(error_avg);
EIGEN_DEBUG_VAR(error_max);
VERIFY(error_avg < (NumTraits<Scalar>::IsComplex ? 8.4 : 1.4) );
- VERIFY(error_max < (NumTraits<Scalar>::IsComplex ? 150.0 : 75.) );
+ VERIFY(error_max < (NumTraits<Scalar>::IsComplex ? 160.0 : 75.) );
}
void test_prec_inverse_4x4()