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:
|
if ok:
|
||||||
return (True, None)
|
return (True, None)
|
||||||
ok = True
|
ok = True
|
||||||
for (f, n) in zero.reduce(numerator(allexprs)).factor():
|
for (f, n) in zero.reduce(allexprs).factor():
|
||||||
if f not in nonzero:
|
if f not in nonzero:
|
||||||
ok = False
|
ok = False
|
||||||
if ok:
|
if ok:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user