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

Nils Wagner nwagner at mecha.uni-stuttgart.de
Mon Oct 24 08:25:49 CDT 2005


    w,vr = linalg.eig(Kd,Gd)
  File "/usr/local/lib/python2.4/site-packages/scipy/linalg/decomp.py",
line 120, in eig
    return _geneig(a1,b,left,right,overwrite_a,overwrite_b)
  File "/usr/local/lib/python2.4/site-packages/scipy/linalg/decomp.py",
line 52, in _geneig
    overwrite_b = overwrite_b or (b1 is not b and not
hasattry(b,'__array__'))
NameError: global name 'hasattry' is not defined




More information about the Scipy-dev mailing list