diff options
Diffstat (limited to 'test/prec_inverse_4x4.cpp')
-rw-r--r-- | test/prec_inverse_4x4.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/prec_inverse_4x4.cpp b/test/prec_inverse_4x4.cpp index c40cf7399..8ae8311a7 100644 --- a/test/prec_inverse_4x4.cpp +++ b/test/prec_inverse_4x4.cpp @@ -58,7 +58,7 @@ template<typename MatrixType> void inverse_general_4x4(int repeat) MatrixType inv = m.inverse(); double error = double( (m*inv-MatrixType::Identity()).norm() * absdet / NumTraits<Scalar>::epsilon() ); error_sum += error; - error_max = std::max(error_max, error); + error_max = (std::max)(error_max, error); } std::cerr << "inverse_general_4x4, Scalar = " << type_name<Scalar>() << std::endl; double error_avg = error_sum / repeat; |