3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-11-06 14:26:03 +00:00

fix variable tracking bug in explanations with literals

This commit is contained in:
Nikolaj Bjorner 2022-09-01 23:26:31 -07:00
parent eb1ea9482e
commit e4ef1717e3
2 changed files with 4 additions and 3 deletions

View file

@ -167,7 +167,7 @@ namespace euf {
lit = lit2;
}
TRACE("euf", tout << "attach " << v << " " << mk_bounded_pp(e, m) << "\n";);
TRACE("euf", tout << "attach v" << v << " " << mk_bounded_pp(e, m) << "\n";);
m_bool_var2expr.reserve(v + 1, nullptr);
if (m_bool_var2expr[v] && m_egraph.find(e)) {
if (m_egraph.find(e)->bool_var() != v) {