3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 20:05:51 +00:00

change the representatition of nex_mul to use nex_pow

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-09-24 12:04:13 -07:00
parent dfb862db7c
commit 27a27f16ff
7 changed files with 125 additions and 149 deletions

View file

@ -151,7 +151,7 @@ private:
nex* mk_monomial_in_row(rational, lpvar, ci_dependency*&);
rational get_monomial_coeff(const nex_mul* m) {
const nex* a = m->children()[0];
const nex* a = m->children()[0].e();
if (a->is_scalar())
return static_cast<const nex_scalar*>(a)->value();
return rational(1);