Re: [Numpy-discussion] choose -> segfault

2012-01-03 Thread Robert Kern
On Tue, Jan 3, 2012 at 14:42, Neal Becker wrote: > I made 2 mistakes here, the 1st argument had the wrong shape, and I really > wanted to use 'where', not 'choose'.  But shouldn't segfault: > > ValueError: Need between 2 and (32) array objects (inclusive). > Segmentation fault (core dumped) Can y

[Numpy-discussion] choose -> segfault

2012-01-03 Thread Neal Becker
I made 2 mistakes here, the 1st argument had the wrong shape, and I really wanted to use 'where', not 'choose'. But shouldn't segfault: ValueError: Need between 2 and (32) array objects (inclusive). Segmentation fault (core dumped) ___ NumPy-Discussi