1
0
Fork 0

Only consider undecided literals for selectAndInstall

Fixes #707
pull/715/head
Nils Adermann 2012-05-20 15:44:15 +02:00
parent dd527a4049
commit 2dfea8a5e0
1 changed files with 3 additions and 1 deletions

View File

@ -723,7 +723,9 @@ class Solver
$noneSatisfied = false;
break;
}
$decisionQueue[] = $literal;
if ($literal > 0 && $this->undecided($literal)) {
$decisionQueue[] = $literal;
}
}
if ($noneSatisfied && count($decisionQueue)) {