mirror of
https://github.com/Z3Prover/z3
synced 2025-08-25 04:26:00 +00:00
fix missing dependency, expose inefficiency
This commit is contained in:
parent
c1d5111159
commit
2afc58cc08
4 changed files with 39 additions and 3 deletions
|
@ -34,6 +34,17 @@ namespace polysat {
|
|||
for (auto v : r.free_vars())
|
||||
if (!m_vars.contains(v))
|
||||
m_vars.push_back(v);
|
||||
|
||||
switch (c) {
|
||||
case code::and_op:
|
||||
case code::or_op:
|
||||
case code::xor_op:
|
||||
if (p.index() > q.index())
|
||||
std::swap(m_p, m_q);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
lbool op_constraint::eval(pdd const& p, pdd const& q, pdd const& r) const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue