Skip to content

Commit d030563

Browse files
Merge pull request #900 from SciML/ChrisRackauckas-patch-1
Change default Rodas5 to Rodas5P
2 parents 9323fcc + 37dae2a commit d030563

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ode_default_alg.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function default_algorithm(prob::DiffEqBase.AbstractODEProblem{uType, tType, inp
7070
if length(prob.u0) > 100
7171
alg = AutoVern9(KenCarp47(autodiff = false), lazy = !callbacks)
7272
else
73-
alg = AutoVern9(Rodas5(autodiff = false), lazy = !callbacks)
73+
alg = AutoVern9(Rodas5P(autodiff = false), lazy = !callbacks)
7474
end
7575
elseif tol_level == :low_tol
7676
if length(prob.u0) > 500

test/default_ode_alg_test.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ sol = solve(prob_ode_2Dlinear; reltol = 1e-7)
2424
sol = solve(prob_ode_2Dlinear; reltol = 1e-10)
2525

2626
@test typeof(sol.alg.algs[1]) <: Vern9
27-
@test typeof(sol.alg.algs[2]) <: Rodas5
27+
@test typeof(sol.alg.algs[2]) <: Rodas5P
2828

2929
sol = solve(prob_ode_2Dlinear; alg_hints = [:stiff])
3030

@@ -44,7 +44,7 @@ prob_ode_bigfloat2Dlinear = ODEProblem(f, map(BigFloat, rand(4, 2)) .* ones(4, 2
4444

4545
sol = solve(prob_ode_bigfloat2Dlinear; dt = 1 // 2^(4))
4646
@test typeof(sol.alg.algs[1]) <: Vern9
47-
@test typeof(sol.alg.algs[2]) <: Rodas5
47+
@test typeof(sol.alg.algs[2]) <: Rodas5P
4848

4949
default_algorithm(prob_ode_bigfloat2Dlinear; alg_hints = [:stiff])
5050

0 commit comments

Comments
 (0)