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

Commit

Permalink
Some last little cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Scrimshaw committed Aug 21, 2018
1 parent 8658e9d commit 726639f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

from sage.misc.cachefunc import cached_method
from sage.categories.category_with_axiom import CategoryWithAxiom_over_base_ring
from sage.categories.graded_modules import GradedModulesCategory

class FiniteDimensionalGradedLieAlgebrasWithBasis(CategoryWithAxiom_over_base_ring):
r"""
Expand Down Expand Up @@ -191,6 +190,8 @@ def degree_on_basis(self, m):
sage: C = C.FiniteDimensional().Stratified().Nilpotent()
sage: sc = {('X','Y'): {'Z': 1}}
sage: L.<X,Y,Z> = NilpotentLieAlgebra(QQ, sc, category=C)
sage: L.degree_on_basis(X.leading_support())
1
sage: X.degree()
1
sage: Y.degree()
Expand Down
2 changes: 0 additions & 2 deletions src/sage/categories/graded_lie_algebras.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
# https://www.gnu.org/licenses/
# ****************************************************************************

from sage.categories.category import Category
from sage.categories.category_with_axiom import CategoryWithAxiom_over_base_ring
from sage.categories.covariant_functorial_construction import RegressiveCovariantConstructionCategory
from sage.categories.graded_modules import GradedModulesCategory

class GradedLieAlgebras(GradedModulesCategory):
Expand Down
1 change: 0 additions & 1 deletion src/sage/categories/lie_algebras_with_basis.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#*****************************************************************************

from sage.misc.abstract_method import abstract_method
from sage.misc.cachefunc import cached_method
from sage.misc.lazy_import import LazyImport
from sage.categories.category_with_axiom import CategoryWithAxiom_over_base_ring
from sage.categories.lie_algebras import LieAlgebras
Expand Down

0 comments on commit 726639f

Please sign in to comment.