From 68b399a2441b003e7ff962dafef59dd548b6256c Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <dmitri.naumov@ufz.de> Date: Thu, 22 Jun 2017 19:03:01 +0200 Subject: [PATCH] [T] ODEInt: Add braces around hid multiline expr. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes warning: suggest explicit braces to avoid ambiguous ‘else’ --- Tests/NumLib/TestODEInt.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tests/NumLib/TestODEInt.cpp b/Tests/NumLib/TestODEInt.cpp index 63245eb7d9b..35d420776d4 100644 --- a/Tests/NumLib/TestODEInt.cpp +++ b/Tests/NumLib/TestODEInt.cpp @@ -102,7 +102,9 @@ public: }; if (num_timesteps > 0) + { EXPECT_TRUE(loop.loop(t0, x0, t_end, delta_t, cb)); + } for (auto& x : sol.solutions) MathLib::LinAlg::setLocalAccessibleVector(x); -- GitLab