diff OrthancStone/Sources/Toolbox/CoordinateSystem3D.cpp @ 1974:446e0d3e9019

fix unit test GeometryToolbox.OrientationMarkers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 28 Oct 2022 17:58:59 +0200
parents cbf54cd28d59
children 07964689cb0b
line wrap: on
line diff
--- a/OrthancStone/Sources/Toolbox/CoordinateSystem3D.cpp	Fri Oct 28 16:23:18 2022 +0200
+++ b/OrthancStone/Sources/Toolbox/CoordinateSystem3D.cpp	Fri Oct 28 17:58:59 2022 +0200
@@ -398,9 +398,9 @@
     const char orientationY = v[1] < 0 ? 'A' : 'P';
     const char orientationZ = v[2] < 0 ? 'F' : 'H';
 
-    double absX = abs(v[0]);
-    double absY = abs(v[1]);
-    double absZ = abs(v[2]);
+    double absX = std::abs(v[0]);
+    double absY = std::abs(v[1]);
+    double absZ = std::abs(v[2]);
 
     std::string result;