Re: [Numpy-discussion] numpy migration

2007-04-25 Thread Duncan Smith
Timothy Hochberg wrote: > On 4/24/07, Duncan Smith <[EMAIL PROTECTED]> wrote: > >> >> >> >> Timothy Hochberg wrote: > > > > [SNIP] > > >> >> > >> > You should be getting a warning here. Did one disappear in the c

Re: [Numpy-discussion] numpy migration

2007-04-24 Thread Duncan Smith
Timothy Hochberg wrote: > On 4/23/07, Duncan Smith <[EMAIL PROTECTED]> wrote: > >> >> Hello, >> Since moving to numpy I've had a few problems with my existing >> code. It basically re

[Numpy-discussion] numpy migration

2007-04-24 Thread Duncan Smith
Hello, Since moving to numpy I've had a few problems with my existing code. It basically revolves around the numpy scalar types. e.g. >>> import Numeric as N >>> a = N.array([[0,1],[2,3]]) >>> a array([[0, 1], [2, 3]]) >>> i = a[0,0]