#4307: [with patch, needs review] bad error message in SupersingularModule
constructor
---------------------------+------------------------------------------------
Reporter: was | Owner: craigcitro
Type: defect | Status: new
Priority: minor | Milestone: sage-3.2
Component: modular forms | Resolution:
Keywords: |
---------------------------+------------------------------------------------
Changes (by AlexGhitza):
* summary: bad error message in SupersingularModule constructor => [with
patch, needs review] bad error message in
SupersingularModule constructor
Comment:
Having looked at the code in ssmod.py, it seems to me that any nontrivial
functionality is only implemented for level 1 at the moment. Two things
that I tried: dimension() and hecke_matrix().
The attached patch raises !ValueErrors if the characteristic is not prime
or if the level is not coprime to the characteristic, and a
!NotImplementedError if the level is > 1.
Extending the functionality in ssmod.py to general levels is right up my
alley, so I'll look into doing it in the near future. The code could also
use more documentation and tests.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4307#comment:2>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---