Re: [Numpy-discussion] Problem looping over numpy array in C

2009-02-25 Thread Ondrej Certik
On Fri, Feb 20, 2009 at 12:19 PM, Sumant S.R. Oemrawsingh wrote: > Hi guys, > > I have a problem with looping over numpy arrays in C. I modify the array > in-place (and return None), but after modification, the array doesn't seem > to play nice any more. > > Below, I have the C code for a function

[Numpy-discussion] Problem looping over numpy array in C

2009-02-20 Thread Sumant S.R. Oemrawsingh
Hi guys, I have a problem with looping over numpy arrays in C. I modify the array in-place (and return None), but after modification, the array doesn't seem to play nice any more. Below, I have the C code for a function do_something (a stripped version of my original function), which has as argum