mirror of
https://github.com/Z3Prover/z3
synced 2025-08-28 14:08:55 +00:00
avoid circular dependencies in justifications that get updated. fixes #7443
This commit is contained in:
parent
1856ab72d9
commit
879bb4b1f0
2 changed files with 7 additions and 7 deletions
|
@ -406,7 +406,7 @@ namespace sat {
|
|||
}
|
||||
}
|
||||
void update_assign(literal l, justification j) {
|
||||
if (j.level() == 0 && !m_trim)
|
||||
if (j.level() == 0 && !m_trim && lvl(l) != 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