Skip to content
Snippets Groups Projects
Commit 68b399a2 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[T] ODEInt: Add braces around hid multiline expr.

Fixes warning: suggest explicit braces to avoid ambiguous ‘else’
parent e6c50f93
No related branches found
No related tags found
No related merge requests found
...@@ -102,7 +102,9 @@ public: ...@@ -102,7 +102,9 @@ public:
}; };
if (num_timesteps > 0) if (num_timesteps > 0)
{
EXPECT_TRUE(loop.loop(t0, x0, t_end, delta_t, cb)); EXPECT_TRUE(loop.loop(t0, x0, t_end, delta_t, cb));
}
for (auto& x : sol.solutions) for (auto& x : sol.solutions)
MathLib::LinAlg::setLocalAccessibleVector(x); MathLib::LinAlg::setLocalAccessibleVector(x);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment