From 641d968a9a7ed57a3b8a3f45dea43c5ee6717f97 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Sun, 30 May 2010 13:43:08 -0400 Subject: * Make ReturnByValue have the EvalBeforeAssigningBit and explicitly enforce this mechanism (otherwise ReturnByValue bypasses it). (use .noalias() to get the old behavior.) * Remove a hack in Inverse, futile optimization for 2x2 expressions. --- test/prec_inverse_4x4.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/prec_inverse_4x4.cpp') diff --git a/test/prec_inverse_4x4.cpp b/test/prec_inverse_4x4.cpp index 4150caec2..05dbee7b5 100644 --- a/test/prec_inverse_4x4.cpp +++ b/test/prec_inverse_4x4.cpp @@ -64,7 +64,9 @@ template void inverse_general_4x4(int repeat) double error_avg = error_sum / repeat; EIGEN_DEBUG_VAR(error_avg); EIGEN_DEBUG_VAR(error_max); - VERIFY(error_avg < (NumTraits::IsComplex ? 8.0 : 1.2)); // FIXME that 1.2 used to be a 1.0 until the NumTraits changes on 28 April 2010, what's going wrong?? + // FIXME that 1.3 used to be a 1.0 until the NumTraits changes on 28 April 2010, and then a 1.2 until the ReturnByValue/Inverse changes + // on 30 May 2010, what's going wrong (if anything) ?? + VERIFY(error_avg < (NumTraits::IsComplex ? 8.0 : 1.3)); VERIFY(error_max < (NumTraits::IsComplex ? 64.0 : 20.0)); } -- cgit v1.2.3