mirror of
https://github.com/Z3Prover/z3
synced 2026-03-17 02:30:01 +00:00
ps
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c50bf61cf5
commit
c6d3b7ec5d
6 changed files with 42 additions and 22 deletions
|
|
@ -204,13 +204,6 @@ namespace polysat {
|
|||
return true;
|
||||
}
|
||||
|
||||
signed_constraint core::get_constraint(unsigned idx, bool sign) {
|
||||
auto sc = m_constraint_index[idx].sc;
|
||||
if (sign)
|
||||
sc = ~sc;
|
||||
return sc;
|
||||
}
|
||||
|
||||
void core::propagate_assignment(constraint_id idx) {
|
||||
auto [sc, dep, value] = m_constraint_index[idx.id];
|
||||
SASSERT(value != l_undef);
|
||||
|
|
@ -252,7 +245,6 @@ namespace polysat {
|
|||
bool swapped = false;
|
||||
for (unsigned i = vars.size(); i-- > 2; ) {
|
||||
if (!is_assigned(vars[i])) {
|
||||
verbose_stream() << "watch instead " << vars[i] << " instead of " << vars[0] << " for " << idx << "\n";
|
||||
add_watch(idx, vars[i]);
|
||||
std::swap(vars[i], vars[0]);
|
||||
swapped = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue