Skip to content

Commit e47e762

Browse files
committed
call as positional
1 parent f34afcc commit e47e762

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Meshes/interval.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ function IntervalMesh(
296296
RootSolvers.SecantMethod(guess₋, guess₊),
297297
RootSolvers.CompactSolution(),
298298
RootSolvers.ResidualTolerance(FT_solve(tol)),
299-
maxiters = 10_000,
299+
10_000,
300300
)
301301
if h_bottom_sol.converged !== true
302302
error(
@@ -317,7 +317,7 @@ function IntervalMesh(
317317
RootSolvers.SecantMethod(guess₋, guess₊),
318318
RootSolvers.CompactSolution(),
319319
RootSolvers.ResidualTolerance(FT_solve(tol)),
320-
maxiters = 10_000,
320+
10_000,
321321
)
322322
if h_top_sol.converged !== true
323323
error(
@@ -412,7 +412,7 @@ function IntervalMesh(
412412
RootSolvers.NewtonsMethodAD(FT_solve(1.0)),
413413
RootSolvers.CompactSolution(),
414414
RootSolvers.ResidualTolerance(FT_solve(tol)),
415-
maxiters = 10_000,
415+
10_000,
416416
)
417417
if γ_sol.converged !== true
418418
error(

src/Operators/integrals.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function column_integral_indefinite!(
7373
RootSolvers.NewtonsMethodAD(ϕ_prev),
7474
RootSolvers.CompactSolution(),
7575
RootSolvers.RelativeSolutionTolerance(rtol),
76-
maxiters = 10_000,
76+
10_000,
7777
)
7878
ClimaComms.@assert device converged "unable to integrate through \
7979
z = $z with rtol set to $rtol"

0 commit comments

Comments
 (0)