[SciPy-user] Iterative solvers and complex arithmetic

Nils Wagner nwagner at mecha.uni-stuttgart.de
Wed Nov 3 06:20:44 CST 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://www.scipy.net/pipermail/scipy-user/attachments/20041103/f8cab202/failure.py


More information about the SciPy-user mailing list