3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-17 16:52:15 +00:00

revert fix to #2417

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-07-24 11:24:01 -07:00
parent 3a90de1cbe
commit 809b0ebca7
3 changed files with 9 additions and 4 deletions

View file

@ -1017,8 +1017,11 @@ bool poly_rewriter<Config>::hoist_ite(expr_ref& e) {
bs.push_back(s);
}
}
adds[i] = mk_add_app(bs.size(), bs.c_ptr());
pinned.push_back(adds[i]);
expr* a2 = mk_add_app(bs.size(), bs.c_ptr());
if (a != a2) {
adds[i] = a2;
pinned.push_back(a2);
}
}
}
++i;