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

fix out of memory problem

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-07-02 17:19:02 -07:00
parent d7265ab4d0
commit 7f9d57e6fa

View file

@ -166,7 +166,8 @@ nex horner::split_with_var(const nex& e, lpvar j) {
a.type() = expr_type::SUM;
if (b.children().size() == 1) {
b = b.children()[0];
nex t = b.children()[0];
b = t;
} else if (b.children().size() > 1) {
b.type() = expr_type::SUM;
}