[SciPy-dev] iterative.py AttributeError: 'module' object has no attribute 'ArrayType'
Nils Wagner
nwagner at iam.uni-stuttgart.de
Sat Jul 1 04:53:45 EDT 2006
x0,info = linalg.cgs(A,r)
File
"/usr/local/lib/python2.4/site-packages/scipy/linalg/iterative.py",
line 507, in cgs
matvec = get_matvec(A)
File
"/usr/local/lib/python2.4/site-packages/scipy/linalg/iterative.py",
line 38, in __init__
if isinstance(obj, sb.ArrayType):
AttributeError: 'module' object has no attribute
'ArrayType'
>>> A
<4x4 sparse matrix of type '<type 'float64scalar'>'
with 4 stored elements (space for 100)
in Compressed Sparse Column format>
>>> r
array([ 7.80423197e-01, 7.08887770e-04,
2.48475465e-01,
8.27064601e-02])
More information about the SciPy-Dev
mailing list