diff --git a/math/minuit2/test/testMinuit2.cxx b/math/minuit2/test/testMinuit2.cxx index 9a50b6140350e..7f3624f15e74c 100644 --- a/math/minuit2/test/testMinuit2.cxx +++ b/math/minuit2/test/testMinuit2.cxx @@ -405,8 +405,9 @@ TEST(Minuit2, AnalyticalHessianLimitTransformation) // magnitude, and dropping the curvature term changes them by ~100%. const double tol = 1e-3 * std::max(std::abs(fd), 1.0); EXPECT_NEAR(hAnalytic(i, j), fd, tol) << "Hessian mismatch at (" << i << "," << j << ")"; - if (i == j) + if (i == j) { EXPECT_NEAR(g2Analytic(i), fd, tol) << "G2 mismatch at " << i; + } } } }