Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit ab47119

Browse files
format
1 parent b631bcd commit ab47119

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

src/broyden.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ and static array problems.
99
struct Broyden <: AbstractSimpleNonlinearSolveAlgorithm end
1010

1111
function SciMLBase.__solve(prob::NonlinearProblem,
12-
alg::Broyden, args...; abstol = nothing,
13-
reltol = nothing,
14-
maxiters = 1000, kwargs...)
12+
alg::Broyden, args...; abstol = nothing,
13+
reltol = nothing,
14+
maxiters = 1000, kwargs...)
1515
f = Base.Fix2(prob.f, prob.p)
1616
x = float(prob.u0)
1717
fₙ = f(x)

src/klement.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ This method is non-allocating on scalar problems.
99
struct Klement <: AbstractSimpleNonlinearSolveAlgorithm end
1010

1111
function SciMLBase.__solve(prob::NonlinearProblem,
12-
alg::Klement, args...; abstol = nothing,
13-
reltol = nothing,
14-
maxiters = 1000, kwargs...)
12+
alg::Klement, args...; abstol = nothing,
13+
reltol = nothing,
14+
maxiters = 1000, kwargs...)
1515
f = Base.Fix2(prob.f, prob.p)
1616
x = float(prob.u0)
1717
fₙ = f(x)

src/raphson.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ struct SimpleNewtonRaphson{CS, AD, FDT} <: AbstractNewtonAlgorithm{CS, AD, FDT}
3737
end
3838

3939
function SciMLBase.__solve(prob::NonlinearProblem,
40-
alg::SimpleNewtonRaphson, args...; abstol = nothing,
41-
reltol = nothing,
42-
maxiters = 1000, kwargs...)
40+
alg::SimpleNewtonRaphson, args...; abstol = nothing,
41+
reltol = nothing,
42+
maxiters = 1000, kwargs...)
4343
f = Base.Fix2(prob.f, prob.p)
4444
x = float(prob.u0)
4545
fx = float(prob.u0)

src/trustRegion.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ struct TrustRegion{CS, AD, FDT} <: AbstractNewtonAlgorithm{CS, AD, FDT}
7878
end
7979

8080
function SciMLBase.__solve(prob::NonlinearProblem,
81-
alg::TrustRegion, args...; abstol = nothing,
82-
reltol = nothing,
83-
maxiters = 1000, kwargs...)
81+
alg::TrustRegion, args...; abstol = nothing,
82+
reltol = nothing,
83+
maxiters = 1000, kwargs...)
8484
f = Base.Fix2(prob.f, prob.p)
8585
x = float(prob.u0)
8686
T = typeof(x)

0 commit comments

Comments
 (0)