Solver: Clarify when/why undecided literals can get skipped in analyze
parent
851050e85c
commit
edef748169
|
@ -386,7 +386,8 @@ class Solver
|
||||||
$this->learnedPool[\count($this->learnedPool) - 1][] = $rule;
|
$this->learnedPool[\count($this->learnedPool) - 1][] = $rule;
|
||||||
|
|
||||||
foreach ($rule->getLiterals() as $literal) {
|
foreach ($rule->getLiterals() as $literal) {
|
||||||
if (!$this->decisions->decided($literal)) {
|
// multiconflictrule is really a bunch of rules in one, so some may not have finished propagating yet
|
||||||
|
if ($rule instanceof MultiConflictRule && !$this->decisions->decided($literal)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue