diff --git a/test/prec_inverse_4x4.cpp b/test/prec_inverse_4x4.cpp index e29bc3ca2..03e86e4ef 100644 --- a/test/prec_inverse_4x4.cpp +++ b/test/prec_inverse_4x4.cpp @@ -61,7 +61,7 @@ template void inverse_permutation_4x4() } std::cerr << "inverse_permutation_4x4, Scalar = " << type_name() << std::endl; EIGEN_DEBUG_VAR(error_max); - VERIFY(error_max < (NumTraits::IsComplex ? 150.0 : 60.) ); + VERIFY(error_max < epsilon() ); } template void inverse_general_4x4(int repeat) @@ -87,7 +87,7 @@ template void inverse_general_4x4(int repeat) EIGEN_DEBUG_VAR(error_avg); EIGEN_DEBUG_VAR(error_max); VERIFY(error_avg < (NumTraits::IsComplex ? 8.4 : 1.4) ); - VERIFY(error_max < (NumTraits::IsComplex ? 150.0 : 60.) ); + VERIFY(error_max < (NumTraits::IsComplex ? 150.0 : 75.) ); } void test_prec_inverse_4x4()