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

fix the nla_exp division

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-07-25 10:41:25 -07:00
parent 6e000547e3
commit d4a88f1de6

View file

@ -310,7 +310,7 @@ public:
} }
return *this; return *this;
} }
if (is_var()) { if (is_var() || children().size() == 1) {
*this = scalar(T(1)); *this = scalar(T(1));
return *this; return *this;
} }