Re: [Numpy-discussion] Segfault on wrong use of indexing

2007-09-17 Thread Arnar Flatberg
Thanks for the fast reply. Everything works fine with a repos checkout ('1.0.4.dev4045'). I was using the default package of Ubuntu Feisty, and must admit that I like to stay close to the package manager, especially with python stuff. With Gutsy on the doorstep, perhaps this not a serious issue (

Re: [Numpy-discussion] Segfault on wrong use of indexing

2007-09-17 Thread Travis E. Oliphant
Arnar Flatberg wrote: > However, when I tried to to insert a 1-dim array with a 'two-dim' > index things went wrong: > a[[0],:] = [2,2] > Segmentation fault > > I do not see this error in latest trunk of numpy (I suspect it's also not there in the latest release). > Am I

Re: [Numpy-discussion] Segfault on wrong use of indexing

2007-09-17 Thread Charles R Harris
Hi Arnar, On 9/17/07, Arnar Flatberg <[EMAIL PROTECTED]> wrote: > > Hi list > A pretty common use (for me) is to create arrays at the beginning of > my code and then fill in parts as I go along. Today, my code hit a > segmentation fault. The error was that an index-vector ,that usually > is a list

[Numpy-discussion] Segfault on wrong use of indexing

2007-09-17 Thread Arnar Flatberg
Hi list A pretty common use (for me) is to create arrays at the beginning of my code and then fill in parts as I go along. Today, my code hit a segmentation fault. The error was that an index-vector ,that usually is a list with several members, now contained only one member and I tried to insert a