Skip to content

Commit 6bc46f5

Browse files
committed
fix: lower tolerance
1 parent 2f1233e commit 6bc46f5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: benchmarks/NonlinearProblem/bruss_krylov.jmd

+6-6
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-5, reltol=1e-5,
201+
linsolve_kwargs = (; abstol = 1e-6, reltol = 1e-6),
202202
termination_condition)
203-
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),
203+
if SciMLBase.successful_retcode(sol) || norm(sol.resid, Inf) ≤ 1e-3
204+
runtimes_scaling[j, i] = @belapsed solve($prob, $alg; abstol=1e-5,
205+
reltol=1e-5,
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)