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,8 +723,10 @@ class Solver
$noneSatisfied = false; $noneSatisfied = false;
break; break;
} }
if ($literal > 0 && $this->undecided($literal)) {
$decisionQueue[] = $literal; $decisionQueue[] = $literal;
} }
}
if ($noneSatisfied && count($decisionQueue)) { if ($noneSatisfied && count($decisionQueue)) {
// prune all update packages until installed version // prune all update packages until installed version