Skip to content

Commit 2dba7e0

Browse files
committed
undo stray valueerr
1 parent 8d60598 commit 2dba7e0

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

cpmpy/solvers/gurobi.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,6 @@ def mus_native(cls, soft, hard=[]):
555555
soft_con_tf = s.transform(soft_con)
556556

557557
if len(soft_con_tf) == 0:
558-
raise ValueError
559558
# uncommon case, just ensure `grb_soft_con` and `soft` are same length
560559
soft_con_tf = [cp.BoolVal(True)]
561560

0 commit comments

Comments
 (0)