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

fix reference counting bug in qe

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2013-02-06 09:40:16 -08:00
parent 8354c2dfb1
commit 0fd1c00053

View file

@ -524,7 +524,8 @@ namespace qe {
expr_ref as_bt_le_0(result, m), tmp2(m), tmp3(m), tmp4(m);
// a*s + b*t + (a-1)(b-1) <= 0
mk_le(m_arith.mk_add(as_bt, slack), result1);
tmp2 = m_arith.mk_add(as_bt, slack);
mk_le(tmp2, result1);
rational a1 = a, b1 = b;
if (abs_a < abs_b) {