roed314 / OMS

Converting Rob Pollack's overconvergent modular symbols .sage code to .py and putting it in Sage
4 stars 4 forks source link

Doctest failure with is_ordinary #25

Closed loefflerd closed 11 years ago

loefflerd commented 11 years ago

I hacked "is_ordinary" to work over number fields, and added a doctest. Bizarrely, if I type the lines from the doctest into the Sage console they work, but when run by the doctest script they raise an error!

loefflerd commented 11 years ago

Fixed in d35c0fc. (The problem is that Sage's algorithm for finding generators for coefficient fields of newforms is randomized when f[2] is not a generator, as here.)