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:
parent
27d65df70b
commit
abc4cc5295
3 changed files with 2 additions and 15 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue