Skip to content

Commit

Permalink
src/sage/modular/hecke/hecke_operator.py: Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed May 12, 2024
1 parent fc43322 commit 344e2b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/modular/hecke/hecke_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def __init__(self, parent):
sage: sage.modular.hecke.hecke_operator.HeckeAlgebraElement(R) # please don't do this!
Generic element of a structure
"""
if not isinstance(parent, algebra.HeckeAlgebra):
if not isinstance(parent, algebra.HeckeAlgebra_base):
raise TypeError("parent (=%s) must be a Hecke algebra" % parent)
AlgebraElement.__init__(self, parent)

Expand Down

0 comments on commit 344e2b3

Please sign in to comment.