[SciPy-dev] iterative.py AttributeError: 'module' object has no attribute 'ArrayType'

Stefan van der Walt stefan at sun.ac.za
Sat Jul 1 05:19:11 CDT 2006


On Sat, Jul 01, 2006 at 10:53:45AM +0200, Nils Wagner wrote:
>      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])

This was fixed on 28/06.

Stéfan


More information about the Scipy-dev mailing list