Skip to content

Commit

Permalink
🤖 Format .jl files
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Sep 1, 2024
1 parent d27b2cb commit 234be4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/moi_nlp_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -478,11 +478,11 @@ function NLPModels.ghjvprod!(
)
increment!(nlp, :neval_hprod)
ghv .= 0.0
for i in nlp.meta.nlin + 1 : nlp.meta.nlin + nlp.quadcon.nquad
for i = (nlp.meta.nlin + 1):(nlp.meta.nlin + nlp.quadcon.nquad)
qcon = nlp.quadcon.constraints[i - nlp.meta.nlin]
ghv[i] = coo_sym_dot(qcon.A.rows, qcon.A.cols, qcon.A.vals, g, v)
end
for i in nlp.meta.nlin + nlp.quadcon.nquad + 1 : nlp.meta.ncon
for i = (nlp.meta.nlin + nlp.quadcon.nquad + 1):(nlp.meta.ncon)
jth_hprod!(nlp, x, v, i, nlp.hv)
decrement!(nlp, :neval_jhprod)
ghv[i] = dot(g, nlp.hv)
Expand Down

0 comments on commit 234be4a

Please sign in to comment.