Skip to content

Commit

Permalink
fix assertion failing on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Rizzi committed Jun 17, 2024
1 parent 7f4c931 commit 9f8398f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ TEST(ode_explicit_steppers, euler_custom_ind_var_type)
MyCustomTime dt{0.1};
ode::advance_n_steps(stepperObj, y, t0,
dt, pressio::ode::StepCount(1));
EXPECT_DOUBLE_EQ( y[0], 0.);
EXPECT_DOUBLE_EQ( y[1], 0.);
EXPECT_DOUBLE_EQ( y[2], 0.);
EXPECT_NEAR( y[0], 0., 1e-14);
EXPECT_NEAR( y[1], 0., 1e-14);
EXPECT_NEAR( y[2], 0., 1e-14);
}

0 comments on commit 9f8398f

Please sign in to comment.