Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oscardssmith committed May 20, 2024
1 parent 231afc2 commit d99b50d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/interface/default_solver_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function exrober(du, u, p, t)
k₂ * y₂^2, ], u[4:end])
end

for n in (100, ) # 600 should be added but currently is broken for unknown reasons
for n in (100, 600)
stiffalg = n < 50 ? 4 : n < 500 ? 5 : 6
linsolve = n < 500 ? nothing : KrylovJL_GMRES()
jac_prototype = sparse(I(n+3))
Expand All @@ -70,6 +70,8 @@ for n in (100, ) # 600 should be added but currently is broken for unknown reaso
@test sol.stats.naccept == fsol.stats.naccept
@test sol.stats.nf == fsol.stats.nf
@test unique(sol.alg_choice) == [1,stiffalg]
@test sol.alg_choice[1] == 1
@test sol.alg_choice[end] == stiffalg
end

function swaplinear(u, p, t)
Expand Down

0 comments on commit d99b50d

Please sign in to comment.