Merge pull request #309 from naderman/fix-assert
Off by one error in the solver - 1 cannot be falsepull/310/head
commit
cac51b1baf
|
@ -1477,7 +1477,7 @@ class Solver
|
|||
|
||||
$l1retry = false;
|
||||
|
||||
if (!$num && !$l1num) {
|
||||
if (!$num && !--$l1num) {
|
||||
// all level 1 literals done
|
||||
break 2;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue