3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-25 04:26:00 +00:00

update justifications only at level 0

This commit is contained in:
Nikolaj Bjorner 2020-11-20 11:10:18 -08:00
parent ee04bfd174
commit 9f34af5e18
2 changed files with 14 additions and 8 deletions

View file

@ -375,7 +375,7 @@ namespace sat {
}
}
void update_assign(literal l, justification j) {
if (lvl(l) > j.level())
if (j.level() == 0)
m_justification[l.var()] = j;
}
void assign_unit(literal l) { assign(l, justification(0)); }