Skip to content

Commit

Permalink
Update src/Utilities/copy.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Oct 30, 2024
1 parent c70d979 commit 072bdd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utilities/copy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ function default_copy_to(dest::MOI.ModelLike, src::MOI.ModelLike)
throw(MOI.AddConstraintNotAllowed{F,S}())
end
else
if !MOI.supports_add_constrainet(dest, F, S)
if !MOI.supports_add_constraint(dest, F, S)
throw(MOI.AddConstraintNotAllowed{F,S}())
end
end
Expand Down

0 comments on commit 072bdd4

Please sign in to comment.