[SciPy-user] Iterative solvers and complex arithmetic

Nils Wagner nwagner at mecha.uni-stuttgart.de
Wed Nov 3 07:20:44 EST 2004


Hi all,

Who can resolve this problem ?

python2.3 -i failure.py

Traceback (most recent call last):
  File "failure.py", line 9, in ?
    x,info = linalg.gmres(A,r)
  File "/usr/lib/python2.3/site-packages/scipy/linalg/iterative.py", 
line 499, in gmres
    work[slice2] += sclr1*matvec(work[slice1])
TypeError: return array has incorrect type

Nils


-------------- next part --------------
A non-text attachment was scrubbed...
Name: failure.py
Type: text/x-python
Size: 218 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20041103/f8cab202/attachment.py>


More information about the SciPy-User mailing list