Skip to content

Commit edf1e70

Browse files
committed
cargo fmt
1 parent a18916c commit edf1e70

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

diffsol/src/ode_solver/method.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,7 @@ where
189189
}
190190
OdeSolverStopReason::RootFound(t_root) => {
191191
let nstates = self.problem().eqn.rhs().nstates();
192-
let mut y_root =
193-
Eqn::V::zeros(nstates, self.problem().context().clone());
192+
let mut y_root = Eqn::V::zeros(nstates, self.problem().context().clone());
194193
self.interpolate_inplace(t_root, &mut y_root)?;
195194
let integrate_out = self.problem().integrate_out;
196195
let mut g_root = None;
@@ -610,8 +609,8 @@ where
610609
mod test {
611610
use crate::{
612611
error::{DiffsolError, OdeSolverError},
613-
matrix::MatrixCommon,
614612
matrix::dense_nalgebra_serial::NalgebraMat,
613+
matrix::MatrixCommon,
615614
ode_equations::test_models::exponential_decay::{
616615
exponential_decay_problem, exponential_decay_problem_adjoint,
617616
exponential_decay_problem_sens, exponential_decay_problem_sens_with_out,

0 commit comments

Comments
 (0)