Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Aug 21, 2024
1 parent 90ba7b2 commit 74f02fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/NLoptMathOptInterfaceExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ function MOI.add_constraint(
)
_init_nlp_model(model)
index = MOI.Nonlinear.add_constraint(model.nlp_model, f, set)
return MOI.ConstraintIndex{typeof(f),typeof(s)}(index.value)
return MOI.ConstraintIndex{typeof(f),typeof(set)}(index.value)
end

function MOI.supports(
Expand Down

0 comments on commit 74f02fb

Please sign in to comment.