Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Shreyas-Ekanathan committed Dec 5, 2024
1 parent 2d0664e commit 81f6fc3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 17 deletions.
4 changes: 3 additions & 1 deletion lib/OrdinaryDiffEqFIRK/test/ode_firk_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ sim21 = test_convergence(1 ./ 2 .^ (2.5:-1:0.5), prob_ode_linear, RadauIIA9())
sim21 = test_convergence(1 ./ 2 .^ (2.5:-1:0.5), prob_ode_2Dlinear, RadauIIA9())
@test sim21.𝒪est[:final]8 atol=testTol

using GenericSchur

prob_ode_linear_big = remake(prob_ode_linear, u0 = big.(prob_ode_linear.u0), tspan = big.(prob_ode_linear.tspan))
prob_ode_2Dlinear_big = remake(prob_ode_2Dlinear, u0 = big.(prob_ode_2Dlinear.u0), tspan = big.(prob_ode_2Dlinear.tspan))

for i in [5, 9, 13], prob in [prob_ode_linear_big, prob_ode_2Dlinear_big]
for i in [5, 9, 13, 17, 21, 25], prob in [prob_ode_linear_big, prob_ode_2Dlinear_big]
dts = 1 ./ 2 .^ (4.25:-1:0.25)
local sim21 = test_convergence(dts, prob, AdaptiveRadau(min_order = i, max_order = i))
@test sim21.𝒪est[:final] i atol=testTol
Expand Down
14 changes: 0 additions & 14 deletions lib/OrdinaryDiffEqFIRK/test/ode_high_order_firk_tests.jl

This file was deleted.

3 changes: 1 addition & 2 deletions lib/OrdinaryDiffEqFIRK/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using SafeTestsets

@time @safetestset "FIRK Tests" include("ode_firk_tests.jl")
@time @safetestset "High Order FIRK Tests" include("ode_high_order_firk_tests.jl")
@time @safetestset "FIRK Tests" include("ode_firk_tests.jl")

0 comments on commit 81f6fc3

Please sign in to comment.