3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-03 09:50:23 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-11-21 16:37:45 -08:00
parent 8db0429809
commit b2c3025e21
2 changed files with 2 additions and 3 deletions

View file

@ -363,8 +363,7 @@ namespace smt {
}
idx--;
// skip literals from levels above the conflict level
while (m_ctx.get_assign_level(m_assigned_literals[idx]) > m_conflict_lvl) {
SASSERT(idx > 0);
while (m_ctx.get_assign_level(m_assigned_literals[idx]) > m_conflict_lvl && idx > 0) {
idx--;
}
return idx;