Skip to content

Commit

Permalink
format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Deltadahl committed Jan 3, 2023
1 parent 8aa0347 commit ac619dc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/SimpleNonlinearSolve/src/klement.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ Klement()
A low-overhead implementation of [Klement](https://jatm.com.br/jatm/article/view/373).
This method is non-allocating on scalar and static array problems.
"""
struct Klement <: AbstractSimpleNonlinearSolveAlgorithm end

Expand All @@ -32,7 +30,6 @@ function SciMLBase.solve(prob::NonlinearProblem,
xₙ₋₁ = x
fₙ₋₁ = fₙ
for _ in 1:maxiters

xₙ = xₙ₋₁ - inv(J) * fₙ₋₁
fₙ = f(xₙ)
Δxₙ = xₙ - xₙ₋₁
Expand Down

0 comments on commit ac619dc

Please sign in to comment.