Skip to content

Commit

Permalink
Update src/Utilities/model.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Oct 30, 2024
1 parent 44fdb61 commit 9069e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utilities/model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ function MOI.add_constraint(
) where {F<:MOI.AbstractFunction,S<:MOI.AbstractSet}
# We check supports_constraint here because it is a common practice for
# AbstractModels to declare that they do not support particular constraints,
# evenn though the underlying `.constraints` object does. See, for example,
# even though the underlying `.constraints` object does. See, for example,
# the various models in MOI.FileFormats.
if !MOI.supports_constraint(model, F, S)
throw(MOI.UnsupportedConstraint{F,S}())
Expand Down

0 comments on commit 9069e52

Please sign in to comment.