From e2c5820428445bb0c5229f2f25314662efada330 Mon Sep 17 00:00:00 2001 From: Romain Janvier Date: Sun, 5 May 2024 23:28:58 +0200 Subject: [PATCH] replace few occurences of abs by std::abs --- include/Jacobi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/Jacobi.h b/include/Jacobi.h index 52883ee..1526b99 100644 --- a/include/Jacobi.h +++ b/include/Jacobi.h @@ -55,9 +55,9 @@ namespace CCCoreLib PointCoordinateType norm2 = res2.norm(); // should equal 0 PointCoordinateType norm3 = res3.norm(); // should equal 0 - if ( abs(norm1) > 1.0e-5 - || abs(norm2) > 1.0e-5 - || abs(norm3) > 1.0e-5 ) + if ( std::abs(norm1) > 1.0e-5 + || std::abs(norm2) > 1.0e-5 + || std::abs(norm3) > 1.0e-5 ) { return false; }