mirror of
https://github.com/Z3Prover/z3
synced 2025-08-02 09:20:22 +00:00
create insert-fresh and insert for indexed_uint_set to make use cases with non-fresh inserts easier
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
0478ab1498
commit
7b36563196
5 changed files with 13 additions and 8 deletions
|
@ -80,7 +80,7 @@ namespace sat {
|
|||
ci.del(lit);
|
||||
switch (ci.m_num_trues) {
|
||||
case 0:
|
||||
m_unsat.insert(cls_idx);
|
||||
m_unsat.insert_fresh(cls_idx);
|
||||
dec_break(lit);
|
||||
break;
|
||||
case 1:
|
||||
|
@ -184,7 +184,7 @@ namespace sat {
|
|||
}
|
||||
switch (ci.m_num_trues) {
|
||||
case 0:
|
||||
m_unsat.insert(i);
|
||||
m_unsat.insert_fresh(i);
|
||||
break;
|
||||
case 1:
|
||||
inc_break(to_literal(ci.m_trues));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue