Skip to content

Commit a3d827e

Browse files
minor test fix
1 parent f956c78 commit a3d827e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_detest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import pytest
1919
import scipy.integrate as integrate
2020

21-
from .helpers import all_ode_solvers, shaped_allclose
21+
from .helpers import all_ode_solvers, implicit_tol, shaped_allclose
2222

2323

2424
#
@@ -393,6 +393,7 @@ def _test(solver, problems, higher):
393393
return
394394
max_steps = 16**4
395395
if not isinstance(solver, diffrax.AbstractAdaptiveSolver):
396+
solver = implicit_tol(solver)
396397
dt0 = 0.01
397398
if type(solver) is diffrax.LeapfrogMidpoint:
398399
# This is an *awful* long-time-horizon solver.

0 commit comments

Comments
 (0)