From b20e5a72d65b69155021ade5bca7af7124ae9f26 Mon Sep 17 00:00:00 2001 From: Nathanael Bosch Date: Wed, 11 Oct 2023 13:22:30 +0200 Subject: [PATCH] Fix another test by just making `appxsol` more precise --- test/callbacks.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/callbacks.jl b/test/callbacks.jl index e6bb6dc87..52e5e07c0 100644 --- a/test/callbacks.jl +++ b/test/callbacks.jl @@ -11,7 +11,7 @@ function harmonic_oscillator(du, u, p, t) return nothing end prob = ODEProblem(harmonic_oscillator, u0, (0.0, 10.0)) -appxsol = solve(prob, Vern9()) +appxsol = solve(prob, Vern9(), reltol=1e-9, abstol=1e-9) @testset "Custom callback" begin function CustomCallback()