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 <martinjrobins@gmail.com>
  • Loading branch information
mhovd and martinjrobins authored Mar 23, 2024
1 parent 1a7b82f commit 490b815
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 @@ -30,7 +30,6 @@ pub trait OdeSolverMethod<Eqn: OdeEquations> {
fn step(&mut self, state: &mut OdeSolverState<Eqn::M>) -> Result<()>;
fn interpolate(&self, state: &OdeSolverState<Eqn::M>, t: Eqn::T) -> Eqn::V;
fn solve(&mut self, problem: &OdeSolverProblem<Eqn>, t: Eqn::T) -> Result<Eqn::V> {
let problem = problem.clone();
let mut state = OdeSolverState::new(&problem);
self.set_problem(&mut state, &problem);
while state.t <= t {
Expand Down

0 comments on commit 490b815

Please sign in to comment.