Skip to content

Commit

Permalink
Update composite_algorithm_test.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Oct 20, 2024
1 parent c5484b7 commit 60d83c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/interface/composite_algorithm_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ v = @inferred OrdinaryDiffEqCore.ode_extrapolant(

@test_throws ArgumentError solve(prob_ode_linear, alg_mixed)
sol2 = solve(prob_ode_linear, Tsit5())
sol3 = solve(prob_ode_linear, alg_mixed; dt = 0.05)
sol4 = solve(prob_ode_linear, alg_mixed_r; dt = 0.05)
sol5 = solve(prob_ode_linear, alg_mixed2; dt = 0.05)
sol3 = solve(prob_ode_linear, alg_mixed; dt = 0.05, adaptive=false)
sol4 = solve(prob_ode_linear, alg_mixed_r; dt = 0.05, adaptive=false)
sol5 = solve(prob_ode_linear, alg_mixed2; dt = 0.05, adaptive=false)
@test sol3.t == sol4.t && sol3.u == sol4.u
@test sol3(0.8)sol2(0.8) atol=1e-4
@test sol5(0.8)sol2(0.8) atol=1e-4
Expand Down

0 comments on commit 60d83c6

Please sign in to comment.