Skip to content

Commit 4c65bc6

Browse files
Fix StiffBVP: replace obsolete nest_tol with nested_nlsolve_kwargs
BoundaryValueDiffEqFIRK removed nest_tol from the RadauIIa*/Lobatto* constructors in favor of nested_nlsolve_kwargs::NamedTuple. Passing nest_tol now errors; use abstol/reltol via nested_nlsolve_kwargs. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
1 parent 6492d4f commit 4c65bc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

benchmarks/StiffBVP/ionic_liquid_dehumidifier.jmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ bvp_fun = BVPFunction(
227227
)
228228

229229
prob = TwoPointBVProblem(bvp_fun, u0, tspan, p)
230-
sol = solve(prob, RadauIIa7(nested_nlsolve = true, nest_tol = 1e-3), dt = dt, abstol = 1e-5)
230+
sol = solve(prob, RadauIIa7(nested_nlsolve = true, nested_nlsolve_kwargs = (; abstol = 1e-3, reltol = 1e-3)), dt = dt, abstol = 1e-5)
231231
testsol = TestSolution(sol)
232232
wp_set = WorkPrecisionSet(prob, abstols, reltols, getfield.(solvers_all, :solver);
233233
names = getfield.(solvers_all, :name), appxsol = testsol, maxiters = Int(1e4))

0 commit comments

Comments
 (0)