Skip to content

Commit 73cec03

Browse files
committed
Update
1 parent b739ae5 commit 73cec03

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Utilities/model.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,8 @@ function MOI.add_constraint(
317317
) where {F<:MOI.AbstractFunction,S<:MOI.AbstractSet}
318318
# We check supports_constraint here because it is a common practice for
319319
# AbstractModels to declare that they do not support particular constraints,
320-
# evenn though the underlying `.constraints` object does. See, e.g., the
321-
# various models in MOI.FileFormats.
320+
# evenn though the underlying `.constraints` object does. See, for example,
321+
# the various models in MOI.FileFormats.
322322
if !MOI.supports_constraint(model, F, S)
323323
throw(MOI.UnsupportedConstraint{F,S}())
324324
end
@@ -340,8 +340,8 @@ function MOI.add_constraint(
340340
) where {S<:MOI.AbstractScalarSet}
341341
# We check supports_constraint here because it is a common practice for
342342
# AbstractModels to declare that they do not support particular constraints,
343-
# evenn though the underlying `.constraints` object does. See, e.g., the
344-
# various models in MOI.FileFormats.
343+
# evenn though the underlying `.constraints` object does. See, for example,
344+
# the various models in MOI.FileFormats.
345345
if !MOI.supports_constraint(model, MOI.VariableIndex, S)
346346
throw(MOI.UnsupportedConstraint{MOI.VariableIndex,S}())
347347
end

0 commit comments

Comments
 (0)