diff --git a/src/sage/algebras/splitting_algebra.py b/src/sage/algebras/splitting_algebra.py index 020cc3145d4..c54197b5845 100644 --- a/src/sage/algebras/splitting_algebra.py +++ b/src/sage/algebras/splitting_algebra.py @@ -36,16 +36,14 @@ from warnings import warn -from sage.structure.element import get_coercion_model from sage.misc.misc import verbose from sage.misc.cachefunc import cached_method -from sage.rings.polynomial.polynomial_quotient_ring import PolynomialQuotientRing_domain, PolynomialQuotientRing_generic +from sage.rings.polynomial.polynomial_quotient_ring import PolynomialQuotientRing_domain from sage.rings.polynomial.polynomial_quotient_ring_element import PolynomialQuotientRingElement - # ------------------------------------------------------------------------------------------------------------------ # Element class for the splitting algebra # -------------------------------------------------------------------------------------------------------- @@ -812,5 +810,5 @@ def create_roots(monic_polynomial, warning=True): if flatten: from sage.misc.flatten import flatten - return flatten([[r]*m for r, m in roots]) + return flatten([[rt]*m for rt, m in roots]) return roots