[Numpy-discussion] numpy 1:1.0.4: numpy.average() returns the wrong result with weights
Fri Feb 22 23:55:32 CST 2008
On 22/02/2008, Travis E. Oliphant <email@example.com> wrote:
> Is there a ticket on the NumPy trac for this? We won't see it if there
> isn't. Thanks for pointing us to the bug.
It appears to be fixed in SVN (that was quick!). But the Debian bug
report also points out a peculiar unnecessary use of eval; the code is
also slower and uses more memory than it has to. Attached is a patch
to cure that.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 692 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080223/6326ea87/attachment.bin
More information about the Numpy-discussion