Skip to content

Commit acf5ac4

Browse files
committed
🤖 Format .jl files
1 parent 7da3dcf commit acf5ac4

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

test/nls/simple-model.jl

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,13 @@ function NLPModels.hess(
202202
@lencheck 2 x
203203
@lencheck 3 y
204204
increment!(nls, :neval_hess)
205-
return Symmetric([
206-
obj_weight*(T(1) - 200 * x[2] + 600 * x[1]^2)+2*y[2]+2*y[3] T(0)
207-
-obj_weight*200*x[1] obj_weight*T(100)+2*y[1]+2*y[3]
208-
], :L)
205+
return Symmetric(
206+
[
207+
obj_weight*(T(1) - 200 * x[2] + 600 * x[1]^2)+2*y[2]+2*y[3] T(0)
208+
-obj_weight*200*x[1] obj_weight*T(100)+2*y[1]+2*y[3]
209+
],
210+
:L,
211+
)
209212
end
210213

211214
function NLPModels.hess_structure!(

0 commit comments

Comments
 (0)