sage: Fix incompatibility with sage 9.4

`allexprs` is already the product all numerators. Don't take it's
numerator again.

Fixes #1067.
This commit is contained in:
Tim Ruffing 2022-01-31 12:13:37 +01:00
parent d8a2463246
commit e108d0039c

View File

@ -227,7 +227,7 @@ def prove_nonzero(R, exprs, assume):
if ok:
return (True, None)
ok = True
for (f, n) in zero.reduce(numerator(allexprs)).factor():
for (f, n) in zero.reduce(allexprs).factor():
if f not in nonzero:
ok = False
if ok: