Skip to content

Commit 5d51919

Browse files
Merge pull request #1117 from SciML/testfixes
More test fixes
2 parents ad17258 + 38579d5 commit 5d51919

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

test/downstream/community_callback_tests.jl

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,12 @@ f(u, p, t) = begin
2222
end
2323

2424
sol = solve(ODEProblem(f, [5.0, 6.0, 0.0, 0.0], (0.0, T)),
25-
# Euler(),
26-
# dt=0.005,
27-
Rosenbrock23(),
25+
Rodas5P(),
2826
callback = ContinuousCallback((u, _, _) -> u[1],
2927
(integrator) -> (integrator.u[1] = 0; integrator.u[3] = 0)),
3028
# callback = ContinuousCallback((u, _, _) -> u[1], (integrator) -> (integrator.u[3] = 0)),
31-
reltol = 1e-3,
32-
abstol = 1e-3)
29+
reltol = 1e-5,
30+
abstol = 1e-5)
3331

3432
@show sol.stats
3533

0 commit comments

Comments
 (0)