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 {