Skip to content

Commit

Permalink
Update src/ode_solver/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Robinson <[email protected]>
  • Loading branch information
mhovd and martinjrobins authored Mar 23, 2024
1 parent 0a615fb commit 1a7b82f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ode_solver/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ pub trait OdeSolverMethod<Eqn: OdeEquations> {
t: Eqn::T,
root_solver: &mut RS,
) -> Result<Eqn::V> {
let problem = problem.clone();
let mut state = OdeSolverState::new_consistent(&problem, root_solver)?;
self.set_problem(&mut state, &problem);
while state.t <= t {
Expand Down

0 comments on commit 1a7b82f

Please sign in to comment.