Solver: No need to check previous decision if we reached the first one

main
Nils Adermann 4 years ago
parent c78eb49b5e
commit b34f916470

@ -417,6 +417,7 @@ class Solver
}
unset($literal);
if ($decisionId > 0) {
$decision = $this->decisions->atOffset($decisionId-1);
if ($rule !== $decision[Decisions::DECISION_REASON] && $decision[Decisions::DECISION_REASON] instanceof MultiConflictRule) {
$num++;
@ -426,6 +427,7 @@ class Solver
}
}
}
}
$l1retry = true;
while ($l1retry) {

Loading…
Cancel
Save