# HG changeset patch # User Sebastien Jodogne # Date 1666972739 -7200 # Node ID 446e0d3e9019132e21b0cf024b80ae578970ee4c # Parent 596f4752fa42e4fdb6244e1c52a9fdb574df93be fix unit test GeometryToolbox.OrientationMarkers diff -r 596f4752fa42 -r 446e0d3e9019 OrthancStone/Sources/Toolbox/CoordinateSystem3D.cpp --- 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;