Skip to content

Commit f8eff66

Browse files
committed
fix mock opt
1 parent 4de9068 commit f8eff66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Utilities/mockoptimizer.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ function test_conflict_access()
158158
c = MOI.add_constraint(mock, 1fx + fy, MOI.LessThan(1))
159159
MOI.set(mock, MOI.ConstraintConflictStatus(), cx, MOI.NOT_IN_CONFLICT)
160160
MOI.set(mock, MOI.ConstraintConflictStatus(), c, MOI.IN_CONFLICT)
161+
MOI.set(mock, MOI.ConflictCount(), 1)
161162
MOI.compute_conflict!(mock)
162-
163163
@test MOI.get(mock, MOI.ConstraintConflictStatus(), cx) ==
164164
MOI.NOT_IN_CONFLICT
165165
@test MOI.get(mock, MOI.ConstraintConflictStatus(), c) == MOI.IN_CONFLICT

0 commit comments

Comments
 (0)