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

Commit

Permalink
trac 32505: change category for free modules
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpalmieri committed Oct 8, 2021
1 parent b3816f9 commit 1612a41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/modules/fp_graded/free_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@
from sage.misc.cachefunc import cached_method
from sage.modules.free_module import VectorSpace
from sage.rings.infinity import PlusInfinity
from sage.categories.graded_modules_with_basis import GradedModulesWithBasis
from sage.categories.graded_modules import GradedModules
from sage.combinat.free_module import CombinatorialFreeModule

from .free_element import FreeGradedModuleElement
Expand Down Expand Up @@ -314,7 +314,7 @@ def __init__(self, algebra, generator_degrees):
CombinatorialFreeModule.__init__(self, algebra,
basis_keys=keys,
element_class=FreeGradedModuleElement,
category=GradedModulesWithBasis(algebra))
category=GradedModules(algebra).WithBasis())


def generator_degrees(self):
Expand Down

0 comments on commit 1612a41

Please sign in to comment.