Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
29716 rebasing and pyflakes hints
Browse files Browse the repository at this point in the history
  • Loading branch information
soehms committed May 28, 2020
1 parent ee46039 commit 2f0c99c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/sage/algebras/splitting_algebra.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
# --------------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -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

0 comments on commit 2f0c99c

Please sign in to comment.