Line 74 in elliptic.py should be return m
>>> from mpmath import *
>>> qfrom(m = nan)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python26\lib\site-packages\mpmath\ctx_mp_python.py", line 1008, in f_wrapped
retval = f(ctx, *args, **kwargs)
File "C:\Python26\lib\site-packages\mpmath\functions\elliptic.py", line 114, in qfrom
return nome(ctx, m)
File "C:\Python26\lib\site-packages\mpmath\functions\elliptic.py", line 74, in nome
return n
NameError: global name 'n' is not defined
Original issue reported on code.google.com by zephyrtr...@gmail.com on 17 Aug 2010 at 9:22
Original issue reported on code.google.com by
zephyrtr...@gmail.com
on 17 Aug 2010 at 9:22