1
0
Fork 0

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

pull/8999/head
Nils Adermann 2020-06-25 09:32:51 +02:00
parent c78eb49b5e
commit b34f916470
1 changed files with 8 additions and 6 deletions

View File

@ -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) {