summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTravis Scrimshaw <tscrimsh at umn.edu>2016-01-18 11:01:45 -0600
committerTravis Scrimshaw <tscrimsh at umn.edu>2016-01-18 11:01:45 -0600
commit65ce4655663d34627215292696d3b1720b24ebc6 (patch)
tree97762ebff95d86df180af4dfd3727b7075bcb8d3
parentCythonized matrix_gp/group_element.py and simplified the class structure. (diff)
Fixing modform_hecketriangle due to changes.
-rw-r--r--src/sage/modular/modform_hecketriangle/hecke_triangle_group_element.py42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/sage/modular/modform_hecketriangle/hecke_triangle_group_element.py b/src/sage/modular/modform_hecketriangle/hecke_triangle_group_element.py
index 3e97098..b0880c6 100644
--- a/src/sage/modular/modform_hecketriangle/hecke_triangle_group_element.py
+++ b/src/sage/modular/modform_hecketriangle/hecke_triangle_group_element.py
@@ -159,8 +159,8 @@ class HeckeTriangleGroupElement(MatrixGroupElement_generic):
# Instead it is called here in the __init__ method of the element
# (after the prelimenary checks).
if check:
- if self._matrix.determinant() != 1:
- raise TypeError("The matrix is not an element of {}, it has determinant {} != 1.".format(parent, self._matrix.determinant()))
+ if self.matrix().determinant() != 1:
+ raise TypeError("The matrix is not an element of {}, it has determinant {} != 1.".format(parent, self.matrix().determinant()))
self._word_S_T_data()
@cached_method
@@ -199,10 +199,10 @@ class HeckeTriangleGroupElement(MatrixGroupElement_generic):
(((1, 1), (0, 1)), 1)
"""
res = []
- ID = self.parent().I()._matrix
- T = self.parent().T()._matrix
- S = self.parent().S()._matrix
- M = self._matrix
+ ID = self.parent().I().matrix()
+ T = self.parent().T().matrix()
+ S = self.parent().S().matrix()
+ M = self.matrix()
lam = self.parent().lam()
zero = ZZ.zero()
one = ZZ.one()
@@ -428,7 +428,7 @@ class HeckeTriang