mirror of
https://github.com/Z3Prover/z3
synced 2026-02-28 10:51:28 +00:00
adding new clause management
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
e2ed658c6c
commit
7b9156dd5b
4 changed files with 247 additions and 67 deletions
|
|
@ -1534,8 +1534,8 @@ namespace sat {
|
|||
}
|
||||
else {
|
||||
s().set_external(lit.var());
|
||||
get_wlist(lit).push_back(c->index());
|
||||
get_wlist(~lit).push_back(c->index());
|
||||
get_wlist(lit).push_back(watched(c->index()));
|
||||
get_wlist(~lit).push_back(watched(c->index()));
|
||||
}
|
||||
SASSERT(c->well_formed());
|
||||
}
|
||||
|
|
@ -2636,8 +2636,8 @@ namespace sat {
|
|||
root = m_roots[c.lit().index()];
|
||||
nullify_tracking_literal(c);
|
||||
c.update_literal(root);
|
||||
get_wlist(root).push_back(c.index());
|
||||
get_wlist(~root).push_back(c.index());
|
||||
get_wlist(root).push_back(watched(c.index()));
|
||||
get_wlist(~root).push_back(watched(c.index()));
|
||||
}
|
||||
|
||||
bool found_dup = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue