[Numpy-discussion] More intel about the bug "Reference count error detected"
Tue Oct 30 03:46:45 CDT 2007
I'm trying to debug what is going on, but I do not know much about the
universal functions. I'm trying to understand what PyUFunc_GenericFunction()
does and what the parameters should be.
Perhaps I should move to the numpy development list ?
2007/10/29, Matthieu Brucher <firstname.lastname@example.org>:
> Instead of using : xp = (x-self.loc) * (1/self.scale)
> I've decided to use : xp = (x-self.loc) / self.scale
> and by some miracle, the bug does not show up in almost all tests.
> Before this bug, the program seems to be hung in a DOUBLE_substract
> function() for quite some time (umathmodule.c file). Perhaps it is this
> function that triggers to many references or dereferencing them too much ?
> If someone wants to take a look, I may be able to wrap what is needed in a
> single (but big) file.
> French PhD student
> Website : http://miles.developpez.com/
> Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
French PhD student
Website : http://miles.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion