[SciPy-user] funm AttributeError: typecode

Nils Wagner nwagner at mecha.uni-stuttgart.de
Thu Mar 14 11:22:28 CST 2002


Pearu Peterson schrieb:
> 
> 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
> 
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user

Again, I can give no account of it.

    funm([[1.,0.],[0.,1.]], exp)
  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


Nils



More information about the SciPy-user mailing list