mirror of
https://github.com/Z3Prover/z3
synced 2025-08-24 03:57:51 +00:00
fixes, tests
This commit is contained in:
parent
e6c413b249
commit
a574eebd05
9 changed files with 110 additions and 48 deletions
|
@ -94,6 +94,8 @@ namespace polysat {
|
|||
if (first)
|
||||
m_bvars.watch(cl[0]).push_back(&cl);
|
||||
m_bvars.watch(cl[1]).push_back(&cl);
|
||||
if (m_bvars.is_true(cl[0]))
|
||||
return;
|
||||
if (first)
|
||||
s.set_conflict(cl);
|
||||
else
|
||||
|
@ -283,6 +285,6 @@ namespace polysat {
|
|||
}
|
||||
|
||||
lbool signed_constraint::bvalue(solver& s) const {
|
||||
return s.m_bvars.value(blit());
|
||||
return get()->has_bvar() ? s.m_bvars.value(blit()) : l_undef;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue