From 490b815b4fd593b3b4b618d3d1278bfdccf56ee5 Mon Sep 17 00:00:00 2001 From: Markus Hovd <66058642+mhovd@users.noreply.github.com> Date: Sat, 23 Mar 2024 17:34:31 +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 7c132f2e..5c5b66bf 100644 --- a/src/ode_solver/mod.rs +++ b/src/ode_solver/mod.rs @@ -30,7 +30,6 @@ pub trait OdeSolverMethod { fn step(&mut self, state: &mut OdeSolverState) -> Result<()>; fn interpolate(&self, state: &OdeSolverState, t: Eqn::T) -> Eqn::V; fn solve(&mut self, problem: &OdeSolverProblem, t: Eqn::T) -> Result { - let problem = problem.clone(); let mut state = OdeSolverState::new(&problem); self.set_problem(&mut state, &problem); while state.t <= t {