3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 20:05:51 +00:00

fix validator bug returning true for unprocessed case, bug reported in #6116

This commit is contained in:
Nikolaj Bjorner 2022-08-23 20:17:32 -07:00
parent ce1f3987d9
commit c6263587c3
3 changed files with 14 additions and 17 deletions

View file

@ -355,8 +355,7 @@ namespace euf {
if (m_relevancy.enabled())
m_relevancy.propagate();
if (m_egraph.inconsistent()) {
unsigned lvl = s().scope_lvl();
s().set_conflict(sat::justification::mk_ext_justification(lvl, conflict_constraint().to_index()));
set_conflict(conflict_constraint().to_index());
return true;
}
bool propagated1 = false;