mirror of
https://github.com/Z3Prover/z3
synced 2025-08-28 05:58:55 +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
|
@ -178,7 +178,7 @@ namespace sat {
|
|||
|
||||
inline void inc_make(literal lit) {
|
||||
bool_var v = lit.var();
|
||||
if (make_count(v)++ == 0) m_unsat_vars.insert(v);
|
||||
if (make_count(v)++ == 0) m_unsat_vars.insert_fresh(v);
|
||||
}
|
||||
|
||||
inline void dec_make(literal lit) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue