Skip to content

Commit d7027af

Browse files
committed
Merge branch '3784-fix-assert' into 'v91-bugfix'
allow for 0 "and" conss See merge request integer/scip!3559
2 parents a85e608 + e64d24c commit d7027af

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)