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

remove overwriting x,y,rval

This commit is contained in:
Nikolaj Bjorner 2025-04-23 09:17:12 -07:00
parent ff920ba51b
commit d73d104ded

View file

@ -155,9 +155,6 @@ namespace nla {
} }
if (use_rational) { if (use_rational) {
auto xval = c.val(x);
auto yval = c.val(y);
auto rval = c.val(r);
if (xval != 0 && yval == 0 && rval != 1) if (xval != 0 && yval == 0 && rval != 1)
return x_exp_0(); return x_exp_0();
else if (xval == 0 && yval != 0 && rval != 0) else if (xval == 0 && yval != 0 && rval != 0)