3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-01-21 01:24:43 +00:00

Simplify boolean propagation level

This commit is contained in:
Jakob Rath 2022-11-09 16:59:51 +01:00
parent 27d65df70b
commit abc4cc5295
3 changed files with 2 additions and 15 deletions

View file

@ -936,9 +936,8 @@ namespace polysat {
for (auto lit : cl) {
if (lit == lit0)
continue;
auto c = lit2cnstr(lit);
if (m_bvars.is_false(lit) || c.is_currently_false(*this))
lvl = std::max(lvl, c.level(*this));
SASSERT(m_bvars.is_false(lit));
lvl = std::max(lvl, m_bvars.level(lit));
}
return lvl;
}