Skip to content

Commit 1e86226

Browse files
🤖 Format .jl files (#100)
Co-authored-by: tmigot <[email protected]>
1 parent 0d52ed0 commit 1e86226

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/nls/problems/bndrosenbrock.jl

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,13 @@ mutable struct BNDROSENBROCK{T, S} <: AbstractNLSModel{T, S}
2929
end
3030

3131
function BNDROSENBROCK(::Type{T}) where {T}
32-
meta = NLPModelMeta{T, Vector{T}}(2, x0 = T[-1.2; 1], lvar = T[-1; -2], uvar = T[0.8; 2], name = "BNDROSENBROCK_manual")
32+
meta = NLPModelMeta{T, Vector{T}}(
33+
2,
34+
x0 = T[-1.2; 1],
35+
lvar = T[-1; -2],
36+
uvar = T[0.8; 2],
37+
name = "BNDROSENBROCK_manual",
38+
)
3339
nls_meta = NLSMeta{T, Vector{T}}(2, 2, nnzj = 3, nnzh = 1)
3440

3541
return BNDROSENBROCK(meta, nls_meta, NLSCounters())
@@ -138,7 +144,11 @@ function NLPModels.hprod_residual!(
138144
return Hiv
139145
end
140146

141-
function NLPModels.hess_structure!(nls::BNDROSENBROCK, rows::AbstractVector{Int}, cols::AbstractVector{Int})
147+
function NLPModels.hess_structure!(
148+
nls::BNDROSENBROCK,
149+
rows::AbstractVector{Int},
150+
cols::AbstractVector{Int},
151+
)
142152
@lencheck 3 rows cols
143153
n = nls.meta.nvar
144154
k = 0

0 commit comments

Comments
 (0)