diff --git a/src/Utilities/copy.jl b/src/Utilities/copy.jl index 422255c688..fa73eb71e2 100644 --- a/src/Utilities/copy.jl +++ b/src/Utilities/copy.jl @@ -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