mirror of
https://github.com/Z3Prover/z3
synced 2025-08-09 04:31:24 +00:00
change assert to conditional code
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
7714bff6b2
commit
58cc69ca61
2 changed files with 10 additions and 1 deletions
|
@ -839,7 +839,7 @@ namespace smt {
|
|||
|
||||
void mk_ite_cnstr(app * n);
|
||||
|
||||
void dec_ref(literal l) { SASSERT(m_lit_occs[l.index()] > 0); m_lit_occs[l.index()]--; }
|
||||
void dec_ref(literal l) { if (m_lit_occs[l.index()] > 0) m_lit_occs[l.index()]--; }
|
||||
|
||||
void inc_ref(literal l) { m_lit_occs[l.index()]++; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue