diff --git a/Eigen/src/LU/arch/Inverse_SSE.h b/Eigen/src/LU/arch/Inverse_SSE.h index 371861aa5..30ce81af7 100644 --- a/Eigen/src/LU/arch/Inverse_SSE.h +++ b/Eigen/src/LU/arch/Inverse_SSE.h @@ -127,7 +127,7 @@ struct ei_compute_inverse_size4(1.0f), det); // <--- yay, one original line not copied from Intel + det = _mm_div_ss(_mm_set_ss(1.0f), det); // <--- yay, one original line not copied from Intel det = _mm_shuffle_ps(det, det, 0x00); // warning, Intel's variable naming is very confusing: now 'det' is 1/det ! diff --git a/test/prec_inverse_4x4.cpp b/test/prec_inverse_4x4.cpp index 8b7dbd8e7..e1b05aa0d 100644 --- a/test/prec_inverse_4x4.cpp +++ b/test/prec_inverse_4x4.cpp @@ -30,7 +30,6 @@ template void inverse_permutation_4x4() { typedef typename MatrixType::Scalar Scalar; typedef typename MatrixType::RealScalar RealScalar; - double error_max = 0.; Vector4i indices(0,1,2,3); for(int i = 0; i < 24; ++i) {