Closed rpollack9974 closed 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)
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)