Skip to content

Commit

Permalink
Fix another test by just making appxsol more precise
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanaelbosch committed Oct 11, 2023
1 parent c42f9f3 commit b20e5a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/callbacks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b20e5a7

Please sign in to comment.