1
0
Fork 0

Solver: Clarify when/why undecided literals can get skipped in analyze

pull/8999/head
Nils Adermann 2020-06-26 21:55:03 +02:00
parent 851050e85c
commit edef748169
1 changed files with 2 additions and 1 deletions

View File

@ -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;
} }