Skip to content

Commit b6b86de

Browse files
fix tests
1 parent 937641f commit b6b86de

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/OrdinaryDiffEqFIRK/test/ode_firk_tests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ sim21 = test_convergence(1 ./ 2 .^ (2.5:-1:0.5), prob_ode_2Dlinear, RadauIIA9())
1717
prob_ode_linear_big = remake(prob_ode_linear, u0 = big.(prob_ode_linear.u0), tspan = big.(prob_ode_linear.tspan))
1818
prob_ode_2Dlinear_big = remake(prob_ode_2Dlinear, u0 = big.(prob_ode_2Dlinear.u0), tspan = big.(prob_ode_2Dlinear.tspan))
1919

20-
for i in [3, 5, 7], prob in [prob_ode_linear_big, prob_ode_2Dlinear_big]
20+
for i in [5, 9, 13], prob in [prob_ode_linear_big, prob_ode_2Dlinear_big]
2121
dts = 1 ./ 2 .^ (4.25:-1:0.25)
22-
sim21 = test_convergence(dts, prob, AdaptiveRadau(min_stages = i, max_stages = i))
23-
@test sim21.𝒪est[:final] (2 * i - 1) atol=testTol
22+
sim21 = test_convergence(dts, prob, AdaptiveRadau(min_order = i, max_order = i))
23+
@test sim21.𝒪est[:final] i atol=testTol
2424
end
2525

2626
# test adaptivity

lib/OrdinaryDiffEqFIRKGenerator/test/ode_firk_tests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ testTol = 0.5
66
prob_ode_linear_big = remake(prob_ode_linear, u0 = big.(prob_ode_linear.u0), tspan = big.(prob_ode_linear.tspan))
77
prob_ode_2Dlinear_big = remake(prob_ode_2Dlinear, u0 = big.(prob_ode_2Dlinear.u0), tspan = big.(prob_ode_2Dlinear.tspan))
88

9-
for i in [9], prob in [prob_ode_linear_big, prob_ode_2Dlinear_big]
9+
for i in [17, 21], prob in [prob_ode_linear_big, prob_ode_2Dlinear_big]
1010
dts = 1 ./ 2 .^ (4.25:-1:0.25)
11-
sim21 = test_convergence(dts, prob, AdaptiveRadau(min_stages = i, max_stages = i))
12-
@test sim21.𝒪est[:final] (2 * i - 1) atol=testTol
11+
sim21 = test_convergence(dts, prob, AdaptiveRadau(min_order = i, max_order = i))
12+
@test sim21.𝒪est[:final] i atol=testTol
1313
end

0 commit comments

Comments
 (0)