Enable clang tidy/warnings for tests
[alexxy/gromacs.git] / src / gromacs / tables / tests / splinetable.cpp
index afb40706b0188f445dfa14ee923658fa80043369..44c7061b93ca196d70f7cf879e8d079dd8681a87 100644 (file)
@@ -135,7 +135,7 @@ SplineTableTest<T>::testSplineTableAgainstFunctions(const std::string
 
     FloatingPointTolerance funcTolerance(relativeToleranceAsFloatingPoint(0.0, tolerance_));
 
-    for (real x = testRange.first; x < testRange.second; x += dx)
+    for (real x = testRange.first; x < testRange.second; x += dx) // NOLINT(clang-analyzer-security.FloatLoopCounter)
     {
         real h                = std::sqrt(GMX_REAL_EPS);
         real secondDerivative = (refDer(x+h)-refDer(x))/h;