Skip to content

Commit

Permalink
Some FIRK nested tests should be OK
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikQQY committed Dec 17, 2024
1 parent f6866d3 commit 665592e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions lib/BoundaryValueDiffEqFIRK/test/nested/nlls_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,15 @@ end
@testset "Problem: $i" for i in 1:2
prob = UnderconstrainedProbArr[i]
@testset "Solver: $name" for (name, solver) in zip(SOLVERS_NAMES, SOLVERS)
sol = solve(
prob, solver; verbose = false, dt = 0.1, abstol = 1e-1, reltol = 1e-1)
@test SciMLBase.successful_retcode(sol.retcode)
if (i == 2) && ((name == "RadauIIa5 with GaussNewton") ||
(name == "RadauIIa5 with NewtonRaphson"))
# Actually have successful retcode
continue
else
sol = solve(
prob, solver; verbose = false, dt = 0.1, abstol = 1e-1, reltol = 1e-1)
@test SciMLBase.successful_retcode(sol.retcode)
end
end
end
end

0 comments on commit 665592e

Please sign in to comment.