Skip to content

Commit 8cbdbb6

Browse files
committed
Fix hprod! again
1 parent 6286c3d commit 8cbdbb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/moi_nlp_model.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ function NLPModels.hprod!(
424424
for k = 1:length(qcon.hessian.vals)
425425
hv[qcon.hessian.rows[k]] += qcon.hessian.vals[k] * v[qcon.hessian.cols[k]]
426426
end
427-
hv[i] *= obj_weight * y[nlp.meta.nlin + i]
427+
hv[i] *= y[nlp.meta.nlin + i]
428428
end
429429
if (nlp.obj.type == "NONLINEAR") || (nlp.meta.nnln > nlp.quadcon.nquad)
430430
ind_nln = (nlp.meta.nlin + nlp.quadcon.nquad + 1):(nlp.meta.ncon)

0 commit comments

Comments
 (0)