[SciPy-dev] NameError: global name 'nx' is not defined

Nils Wagner nwagner at mecha.uni-stuttgart.de
Sun Oct 30 01:19:16 CDT 2005


======================================================================
ERROR: check_assoc_laguerre 
(scipy.special.basic.test_basic.test_assoc_laguerre)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/local/lib/python2.4/site-packages/scipy/special/tests/test_basic.py", 
line 527, in check_assoc_laguerre
     a1 = genlaguerre(11,1)
   File 
"/usr/local/lib/python2.4/site-packages/scipy/special/orthogonal.py", 
line 273, in genlaguerre
     p = orthopoly1d(x,w,hn,kn,wfunc,(0,inf),monic)
   File 
"/usr/local/lib/python2.4/site-packages/scipy/special/orthogonal.py", 
line 73, in __init__
     poly1d.__init__(self, roots, r=1)
   File 
"/usr/local/lib/python2.4/site-packages/scipy/base/polynomial.py", 
line 372, in __init__
     c_or_r = poly(c_or_r)
   File 
"/usr/local/lib/python2.4/site-packages/scipy/base/polynomial.py", 
line 70, in poly
     if isinstance(a.dtype, nx.complexfloating):
NameError: global name 'nx' is not defined




More information about the Scipy-dev mailing list