From f00bc5bc3dbfa6913cad282c3b0604ddbeef1ac8 Mon Sep 17 00:00:00 2001 From: Christoph Lehmann <christoph.lehmann@ufz.de> Date: Thu, 18 Feb 2016 11:59:04 +0100 Subject: [PATCH] [NL] Didn't find mechanism to make const& on the fly. --- NumLib/ODESolver/TimeLoopSingleODE.h | 1 - 1 file changed, 1 deletion(-) diff --git a/NumLib/ODESolver/TimeLoopSingleODE.h b/NumLib/ODESolver/TimeLoopSingleODE.h index 96900a4e305..4972819738b 100644 --- a/NumLib/ODESolver/TimeLoopSingleODE.h +++ b/NumLib/ODESolver/TimeLoopSingleODE.h @@ -103,7 +103,6 @@ loop(const double t0, const Vector x0, const double t_end, const double delta_t, time_disc.pushState(t, x, _ode_sys); - // TODO check const ref auto const t_cb = t; // make sure the callback cannot overwrite anything. auto const& x_cb = x; // ditto. post_timestep(t_cb, x_cb); -- GitLab