Skip to content

Commit ecd6974

Browse files
amontoisonblegat
andcommitted
Update src/utils.jl
Co-authored-by: Benoît Legat <[email protected]>
1 parent c017174 commit ecd6974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ function parser_MOI(moimodel, index_map, nvar)
380380

381381
contypes = MOI.get(moimodel, MOI.ListOfConstraintTypesPresent())
382382
for (F, S) in contypes
383-
(F == VNF) && error("The function $F is not supported. Please use `.<=`, `.==`, and `.>=` in your constraints to ensure compatibility with ScalarAffineFunction.")
383+
(F == VNF) && error("The function $F is not supported. Please use `.<=`, `.==`, and `.>=` in your constraints to ensure compatibility with ScalarNonlinearFunction.")
384384
F <: AF || F <: QF || F == SNF || F == VI || error("Function $F is not supported.")
385385
S <: LS || error("Set $S is not supported.")
386386

0 commit comments

Comments
 (0)