summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Krenn <devel@danielkrenn.at>2014-12-30 09:34:03 +0100
committerDaniel Krenn <devel@danielkrenn.at>2014-12-30 09:34:03 +0100
commit5e77b11034d45757e2bbb9e2fccd81d5b61c6297 (patch)
tree9c77fc2b4eac361436449089a6bfbeee62d8264a
parentfix remaining failing doctests and code cleanup (diff)
short code simplification (FractionField) (comment:66 of #10519)
-rw-r--r--src/sage/combinat/asymptotics_multivariate_generating_functions.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sage/combinat/asymptotics_multivariate_generating_functions.py b/src/sage/combinat/asymptotics_multivariate_generating_functions.py
index cc65051..91d33ac 100644
--- a/src/sage/combinat/asymptotics_multivariate_generating_functions.py
+++ b/src/sage/combinat/asymptotics_multivariate_generating_functions.py
@@ -2713,7 +2713,6 @@ class FFPDElement(sage.structure.element.RingElement):
"""
from sage.calculus.functional import diff
from sage.rings.polynomial.polynomial_ring_constructor import PolynomialRing
- from sage.rings.fraction_field import FractionField
from sage.sets.set import Set
from sage.symbolic.ring import SR
@@ -2729,7 +2728,7 @@ class FFPDElement(sage.structure.element.RingElement):
indets.append(a)
indets = sorted(Set(indets)) # Delete duplicates in indets.
if indets:
- L = FractionField(PolynomialRing(K, indets))
+ L = PolynomialRing(K, indets).fraction_field()
S = R.change_ring(L)
# Coerce alpha into L.
alpha = [L(a) for a in alpha]