Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Jun 23, 2023
1 parent ca10a15 commit 57f05db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MOI_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@ function _F_nonlinear_operator(model::Optimizer)
s = MOI.get(model, MOI.ConstraintSet(), ci)
N = div(MOI.dimension(s), 2)
for i in 1:N
xi = f.args[i+N]
xi = f.rows[i+N]
@assert xi isa MOI.VariableIndex
f_map[xi.value] = f.args[i]
f_map[xi.value] = f.rows[i]
end
end
nlp = MOI.Nonlinear.Model()
Expand Down

0 comments on commit 57f05db

Please sign in to comment.