[SciPy-user] funm AttributeError: typecode

Pearu Peterson pearu at cens.ioc.ee
Wed Mar 13 12:01:33 CST 2002


On Wed, 13 Mar 2002, Nils Wagner wrote:

> 
>   File
> "/usr/local/lib/python2.1/site-packages/scipy/linalg/linear_algebra.py",
> line 836, in funm
>     tol = {0:feps, 1:eps}[_array_precision[A.typecode()]]
> AttributeError: typecode
> 
> 
> For what reason ?

May be because A is not a Numeric array? The current linalg has in many
places where asarray is not applied to arguments, arguments are assumed to
be Numeric arrays.

Pearu




More information about the SciPy-user mailing list