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

Commit

Permalink
Fixed one test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmasdeu committed Mar 10, 2014
1 parent caaa672 commit c0331a5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/sage/modular/pollack_stevens/modsym.py
Expand Up @@ -784,7 +784,7 @@ def _find_alpha(self, p, k, M=None, ap=None, new_base_ring=None, ordinary=True,
return self._find_alpha(p=p, k=k, M=M, ap=ap, new_base_ring=new_base_ring, ordinary=ordinary, check=False, find_extraprec=find_extraprec)
return alpha, new_base_ring, newM, eisenloss, q, aq

def p_stabilize(self, p, M, alpha=None, ap=None, new_base_ring=None, ordinary=True, check=True):
def p_stabilize(self, p=None, M=None, alpha=None, ap=None, new_base_ring=None, ordinary=True, check=True):
r"""
Returns the `p`-stablization of self to level `N*p` on which `U_p` acts by `alpha`.
Expand Down Expand Up @@ -853,7 +853,10 @@ def p_stabilize(self, p, M, alpha=None, ap=None, new_base_ring=None, ordinary=Tr
if check:
p = self._get_prime(p, alpha)
k = self.parent().weight()
M = ZZ(M)
if M is None:
M = ZZ(20)
else:
M = ZZ(M)
verbose("p stabilizing: M = %s"%M, level=2)
if alpha is None:
alpha, new_base_ring, newM, eisenloss, q, aq = self._find_alpha(p, k, M, ap, new_base_ring, ordinary, check, find_extraprec = False)
Expand Down

0 comments on commit c0331a5

Please sign in to comment.