[Numpy-discussion] [Fwd: Re: A few comments (MDP conversion)]

Nils Wagner nwagner at iam.uni-stuttgart.de
Fri Jul 14 02:43:32 EDT 2006


Pietro Berkes wrote:
> On Thu, 13 Jul 2006, Nils Wagner wrote:
>
>   
>> It seems to be line 281 instead of 269. I am using latest svn.
>> BTW, in linalg.py in
>>
>> def pinv:
>>
>> there is another Complex with capital C.
>>     
>
> Well, the problem is not really the capital 'C', but rather the lack of 
> quotation marks...
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion
>   

 >>> p = linalg.pinv(a)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib64/python2.4/site-packages/numpy/linalg/linalg.py", line 
426, in pinv
    if issubclass(a.dtype.dtype, complexfloating):
AttributeError: 'numpy.dtype' object has no attribute 'dtype'

Nils





More information about the NumPy-Discussion mailing list