3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-13 12:28:44 +00:00

refcount fix for theory_fpa

This commit is contained in:
Christoph M. Wintersteiger 2016-05-26 14:01:06 +01:00
parent 15d871cfe0
commit 4b00ea69db

View file

@ -623,6 +623,7 @@ namespace smt {
}
m_th_rw(c);
expr_ref xe_eq_ye(m), not_xe_eq_ye(m), c_eq_iff(m);
xe_eq_ye = m.mk_eq(xe, ye);
not_xe_eq_ye = m.mk_not(xe_eq_ye);
@ -879,6 +880,7 @@ namespace smt {
m_fpa_util.is_to_real_unspecified(f);
if (include && !m_is_added_to_model.contains(f)) {
m_is_added_to_model.insert(f);
get_manager().inc_ref(f);
return true;
}
return false;