[SciPy-user] Bugs in linalg.qmr linalg.bicg

Nils Wagner nwagner at mecha.uni-stuttgart.de
Fri Oct 22 02:14:53 CDT 2004


Hi all,

I found two bugs in linalg.qmr and linalg.bicg.

Traceback (most recent call last):
  File "sparse_it.py", line 19, in ?
    sol2,info2 = linalg.qmr(A,r)
  File "/usr/lib/python2.3/site-packages/scipy/linalg/iterative.py", 
line 576, in qmr
    rmatvec = get_rmatvec(A)
  File "/usr/lib/python2.3/site-packages/scipy/linalg/iterative.py", 
line 26, in __init__
    raise ValueError, "Object must be an array "\
ValueError: Object must be an array or have a callable rmatvec attribute.

Traceback (most recent call last):
  File "sparse_it.py", line 20, in ?
    sol3,info3 = linalg.bicg(A,r)
  File "/usr/lib/python2.3/site-packages/scipy/linalg/iterative.py", 
line 154, in bicg
    rmatvec = get_rmatvec(A)
  File "/usr/lib/python2.3/site-packages/scipy/linalg/iterative.py", 
line 26, in __init__
    raise ValueError, "Object must be an array "\
ValueError: Object must be an array or have a callable rmatvec attribute.


Nils

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sparse_it.py
Type: text/x-python
Size: 833 bytes
Desc: not available
Url : http://www.scipy.net/pipermail/scipy-user/attachments/20041022/a4ac8309/sparse_it.py


More information about the SciPy-user mailing list