Skip to content

Commit e64d24c

Browse files
committed
allow for 0 and conss
- can happen if pseudoboolean conss have no terms
1 parent a85e608 commit e64d24c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scip/cons_pseudoboolean.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3968,7 +3968,7 @@ SCIP_RETCODE computeConsAndDataChanges(
39683968

39693969
allconsanddatas = conshdlrdata->allconsanddatas;
39703970
assert(allconsanddatas != NULL);
3971-
assert(conshdlrdata->nallconsanddatas > 0);
3971+
assert(conshdlrdata->nallconsanddatas >= 0);
39723972
assert(conshdlrdata->nallconsanddatas <= conshdlrdata->sallconsanddatas);
39733973

39743974
for( c = conshdlrdata->nallconsanddatas - 1; c >= 0; --c )

0 commit comments

Comments
 (0)