Re: [Numpy-discussion] Vectorize leaks

2007-08-13 Thread David Huard
Hi Chris, Same problem for ubuntu linux. Darn, I spent an hour tracking this bug and now I see you found it before... 2007/8/13, Chris Fonnesbeck <[EMAIL PROTECTED]>: > > I have narrowed a memory leak in PyMC down to the vectorize() function > in numpy. I have a simple inverse logit transformati

[Numpy-discussion] Vectorize leaks

2007-08-13 Thread Chris Fonnesbeck
I have narrowed a memory leak in PyMC down to the vectorize() function in numpy. I have a simple inverse logit transformation function: invlogit = lambda x: 1.0 / (1.0 + exp(-1.0 * x)) which runs without leaking when used iteratively during simulations. However, when I try to vectorize it, the