From 1a1aff3e62f14f9ca7dce23fc33ba1f38734ec24 Mon Sep 17 00:00:00 2001
From: Andre Sailer <andre.philippe.sailer@cern.ch>
Date: Fri, 24 Nov 2023 17:09:22 +0100
Subject: [PATCH] NestedBoxReflection_geo.cpp: use std::abs instead of abs

---
 examples/ClientTests/src/NestedBoxReflection_geo.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/ClientTests/src/NestedBoxReflection_geo.cpp b/examples/ClientTests/src/NestedBoxReflection_geo.cpp
index e38b6b755..9c4e933f0 100644
--- a/examples/ClientTests/src/NestedBoxReflection_geo.cpp
+++ b/examples/ClientTests/src/NestedBoxReflection_geo.cpp
@@ -36,7 +36,7 @@ namespace   {
 
     constexpr double tol = 1.0e-3;       // Geant4 compatible
     double check = (x.Cross(y)).Dot(z);  // in case of a LEFT-handed orthogonal system this must be -1
-    if (abs(1. + check) > tol) {
+    if (std::abs(1. + check) > tol) {
       except("NestedBoxReflection", "+++ FAILED to construct Rotation is not LEFT-handed!");
     }
     printout(INFO, "NestedBoxReflection", "+++ Constructed LEFT-handed reflection rotation.");
-- 
GitLab