[SciPy-dev] Possibly bug in Sparse.py

Nils Wagner nwagner at mecha.uni-stuttgart.de
Thu Feb 17 09:10:18 CST 2005

Hi all,

I am going to solve large-scale linear systems of equations.

The test matrices can be found at


  File "meerbergen.py", line 34, in ?
    y, info = linalg.bicgstab(omega[i]*B-A,v)
  File "/usr/lib/python2.3/site-packages/scipy/sparse/Sparse.py", line 
441, in __sub__
    c,rowc,ptrc,ierr = 
  File "/usr/lib/python2.3/site-packages/scipy/sparse/Sparse.py", line 
210, in __getattr__
    raise AttributeError, attr + " not found."
AttributeError: rowind not found.

 >>> A
<22692x22692 sparse matrix of type 'D' with 1482390 stored elements 
(space for 1482390) in
        COOrdinate format>
 >>> B
<22692x22692 sparse matrix of type 'd' with 1481988 stored elements 
(space for 1481988) in
        COOrdinate format>
 >>> omega[i]

Any suggestion would be appreciated.

Thanks in advance

P.S. Is there any progress in supporting sparse eigensolvers (e.g. 
ARPACK) in scipy ?

More information about the Scipy-dev mailing list