roed314 / OMS

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

random element not working for distributions (when the base ring is p-adic) #33

Closed rpollack9974 closed 11 years ago

rpollack9974 commented 11 years ago

This works...

sage: D = Distributions(0,11,5) sage: D.random_element() (66102, 776, 858, 18, 9)

But this fails:

sage: D = Distributions(0,11,5,base=Qp(11,5)) sage: D.random_element() ERROR: An unexpected error occurred while tokenizing input The following traceback may be corrupted or invalid The error message is: ('EOF in multi-line statement', (1568, 0))


ValueError Traceback (most recent call last)