[SciPy-dev] Possibly bug in sparse.py

Nils Wagner nwagner at mecha.uni-stuttgart.de
Mon Feb 13 04:05:57 CST 2006


>>> a = spdiags([[1,2,3,4,5],[6,5,8,9,10]],[0,1],5,5)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python2.4/site-packages/scipy/sparse/sparse.py",
line 1841, in spdiags
    diagfunc = eval('sparsetools.'+_transtabl[mtype]+'diatocsr')
  File "<string>", line 0, in ?
AttributeError: 'module' object has no attribute 'ddiatocsr'




More information about the Scipy-dev mailing list