Skip to content

Commit d04c8db

Browse files
amontoisonblegat
andcommitted
Update src/utils.jl
Co-authored-by: Benoît Legat <benoit.legat@gmail.com>
1 parent 2be4fe1 commit d04c8db

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)