Skip to content

Commit 896a13a

Browse files
committed
fix: lower tolerance
1 parent 2f1233e commit 896a13a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

benchmarks/NonlinearProblem/bruss_krylov.jmd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,13 +197,13 @@ for (j, solver) in enumerate(solvers_scaling_jacobian_free)
197197
termination_condition = (alg isa PETScSNES || alg isa KINSOL) ?
198198
nothing :
199199
NonlinearSolveBase.AbsNormTerminationMode(Base.Fix1(maximum, abs))
200-
sol = solve(prob, alg; abstol=1e-6, reltol=1e-6,
201-
linsolve_kwargs = (; abstol = 1e-10, reltol = 1e-10),
200+
sol = solve(prob, alg; abstol=1e-4, reltol=1e-4,
201+
linsolve_kwargs = (; abstol = 1e-6, reltol = 1e-6),
202202
termination_condition)
203203
if SciMLBase.successful_retcode(sol) || norm(sol.resid, Inf) ≤ 1e-4
204-
runtimes_scaling[j, i] = @belapsed solve($prob, $alg; abstol=1e-6,
205-
reltol=1e-6,
206-
linsolve_kwargs = (; abstol = 1e-10, reltol = 1e-10),
204+
runtimes_scaling[j, i] = @belapsed solve($prob, $alg; abstol=1e-4,
205+
reltol=1e-4,
206+
linsolve_kwargs = (; abstol = 1e-6, reltol = 1e-6),
207207
termination_condition=$termination_condition)
208208
else
209209
runtimes_scaling[j, i] = NaN

0 commit comments

Comments
 (0)