Skip to content

Commit

Permalink
use nnzj for default nln_nnzj
Browse files Browse the repository at this point in the history
  • Loading branch information
tmigot authored and amontoison committed Aug 5, 2024
1 parent 7ce7176 commit 3b7af8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nlp/meta.jl
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function NLPModelMeta{T, S}(
nnzo = nvar,
nnzj = nvar * ncon,
lin_nnzj = 0,
nln_nnzj = nvar * ncon,
nln_nnzj = nnzj - lin_nnzj,
nnzh = nvar * (nvar + 1) / 2,
lin = Int[],
minimize = true,
Expand Down

0 comments on commit 3b7af8d

Please sign in to comment.