From 1a7b82f7fac1ceb16f57b7a01e8b14b81d8d8c45 Mon Sep 17 00:00:00 2001 From: Markus Hovd <66058642+mhovd@users.noreply.github.com> Date: Sat, 23 Mar 2024 17:34:26 +0100 Subject: [PATCH] Update src/ode_solver/mod.rs Co-authored-by: Martin Robinson --- src/ode_solver/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ode_solver/mod.rs b/src/ode_solver/mod.rs index e0f892f6..7c132f2e 100644 --- a/src/ode_solver/mod.rs +++ b/src/ode_solver/mod.rs @@ -44,7 +44,6 @@ pub trait OdeSolverMethod { t: Eqn::T, root_solver: &mut RS, ) -> Result { - let problem = problem.clone(); let mut state = OdeSolverState::new_consistent(&problem, root_solver)?; self.set_problem(&mut state, &problem); while state.t <= t {