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:
parent
ee04bfd174
commit
9f34af5e18
2 changed files with 14 additions and 8 deletions
|
@ -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)); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue