diff --git a/DDCore/src/plugins/DetectorChecksum.cpp b/DDCore/src/plugins/DetectorChecksum.cpp index 5e1ab1184..daf9551a4 100644 --- a/DDCore/src/plugins/DetectorChecksum.cpp +++ b/DDCore/src/plugins/DetectorChecksum.cpp @@ -43,7 +43,7 @@ namespace { return v.data() != 0; } inline double check_null(double d) { - if ( abs(d) < 1e-12 ) + if ( fabs(d) < 1e-12 ) return 0e0; else return d;