Skip to content

Commit 509bc4a

Browse files
tolerances
1 parent eccdd2e commit 509bc4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_solvers/test_scikits_solvers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ def test_model_step_ode_python(self):
539539
# Check steps give same solution as solve
540540
t_eval = step_sol.t
541541
solution = solver.solve(model, t_eval)
542-
np.testing.assert_allclose(solution.y[0], step_sol.y[0])
542+
np.testing.assert_allclose(solution.y[0], step_sol.y[0], atol=1e-6, rtol=1e-6)
543543

544544
def test_model_step_dae_python(self):
545545
model = pybamm.BaseModel()

0 commit comments

Comments
 (0)