[Numpy-discussion] numpy 1:1.0.4: numpy.average() returns the wrong result with weights
Anne Archibald
peridot.faceted@gmail....
Fri Feb 22 23:55:32 CST 2008
On 22/02/2008, Travis E. Oliphant <oliphant@enthought.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.
Anne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: average.patch
Type: text/x-patch
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
mailing list