Skip to content

Commit

Permalink
chore: apply formatting suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
avik-pal and github-actions[bot] committed Sep 25, 2024
1 parent 98ef805 commit 1d75d7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/SimpleNonlinearSolve/src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ end
function check_termination(cache, fx, x, xo, _, ::AbstractSafeNonlinearTerminationMode)
return cache(fx, x, xo), cache.retcode, fx, x
end
function check_termination(cache, fx, x, xo, prob, ::AbstractSafeBestNonlinearTerminationMode)
function check_termination(
cache, fx, x, xo, prob, ::AbstractSafeBestNonlinearTerminationMode)
if cache(fx, x, xo)
x = cache.u
if SciMLBase.isinplace(prob)
Expand Down

0 comments on commit 1d75d7f

Please sign in to comment.