Re: [Numpy-discussion] matrix <-> ndarray bug

2008-01-31 Thread dmitrey
Alan G Isaac wrote: > On Thu, 31 Jan 2008, dmitrey apparently wrote: > >> already fixed in more recent versions? >> > > Yes, at least it's fixed in my 1.0.4. > > By the way, do you know about the ``A`` attribute of matrices? > Yes, I know, but numpy.ndarray has no the attribute (I had s

Re: [Numpy-discussion] matrix <-> ndarray bug

2008-01-31 Thread Alan G Isaac
On Thu, 31 Jan 2008, dmitrey apparently wrote: > already fixed in more recent versions? Yes, at least it's fixed in my 1.0.4. By the way, do you know about the ``A`` attribute of matrices? Cheers, Alan Isaac ___ Numpy-discussion mailing list Numpy-

[Numpy-discussion] matrix <-> ndarray bug

2008-01-31 Thread dmitrey
I don't know, maybe it's already fixed in more recent versions? >>> from numpy import * >>> a=mat('1 2') >>> b = asfarray(a).flatten() >>> print b[0] [[ 1. 2.]] # ^^ I expected getting 1.0 here >>> numpy.version.version '1.0.3' ___ Numpy-discuss