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:
parent
d8a2463246
commit
e108d0039c
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user