Re: [Numpy-discussion] Indexing a matrix with a scalar and ticket #707

2008-04-28 Thread Charles R Harris
On Mon, Apr 28, 2008 at 7:41 PM, Charles R Harris <[EMAIL PROTECTED]> wrote: > > > On Mon, Apr 28, 2008 at 7:03 PM, Charles R Harris < > [EMAIL PROTECTED]> wrote: > > > Yes, indeed. > > > > Ticket #707: numpy.array fails if the input is a list of matrixes (with > > more then one column). > > > > T

Re: [Numpy-discussion] Indexing a matrix with a scalar and ticket #707

2008-04-28 Thread Charles R Harris
On Mon, Apr 28, 2008 at 7:03 PM, Charles R Harris <[EMAIL PROTECTED]> wrote: > Yes, indeed. > > Ticket #707: numpy.array fails if the input is a list of matrixes (with > more then one column). > > The subroutine discover_dimensions in arrayobject.c indexes a matrix with > a scalar. It is a recursi

[Numpy-discussion] Indexing a matrix with a scalar and ticket #707

2008-04-28 Thread Charles R Harris
Yes, indeed. Ticket #707: numpy.array fails if the input is a list of matrixes (with more then one column). The subroutine discover_dimensions in arrayobject.c indexes a matrix with a scalar. It is a recursive routine and expects to find the next lower dimension as it recurses down into the matri