Skip to content

Commit 0c2bd6a

Browse files
committed
Fix test failure
1 parent 76a248a commit 0c2bd6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/ode_tableau_convergence_tests.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ dts = 1 .//2 .^(8:-1:4)
1818
testTol = 0.3
1919
superduperbool = Vector{Bool}(undef, 2)
2020

21+
@test all(i -> residual_order_condition(constructRalston4(), i, +, abs) < 10eps(1.0), 1:4)
22+
2123
for i = 1:2 # 1 = num, 2 = ExplicitRK
2224
global dts
2325
if i>1
@@ -63,7 +65,6 @@ for i = 1:2 # 1 = num, 2 = ExplicitRK
6365
sim = test_convergence(dts,prob,tabalg)
6466
@test abs(sim.𝒪est[:l∞]-4) < testTol
6567

66-
@test sum(i -> sqrt(residual_order_condition(constructRalston4(), i, +)), 1:4) < eps(1.0)
6768
tabalg = ExplicitRK(tableau=constructRalston4())
6869
sim = test_convergence(dts,prob,tabalg)
6970
@test abs(sim.𝒪est[:l∞]-4) < testTol

0 commit comments

Comments
 (0)