[SciPy-User] Bottleneck 0.4.1

Keith Goodman kwgoodman@gmail....
Tue Mar 8 17:07:57 CST 2011


On Tue, Mar 8, 2011 at 1:19 PM, Keith Goodman <kwgoodman@gmail.com> wrote:
> Bottleneck is a collection of fast NumPy array functions written in
> Cython. It contains functions like median, nanmedian, nanargmax,
> move_mean.
>
> This is a bug fix release.
>
> The low-level functions nanstd_3d_int32_axis1 and
> nanstd_3d_int64_axis1, called by bottleneck.nanstd(), wrote beyond the
> memory owned by the output array if both arr.shape[1] == 0 and
> arr.shape[0] > arr.shape[2], where arr is the input array.
>
> Thanks to Christoph Gohlke for finding an example to demonstrate the bug.

How embarrassing! The same bug in nanstd() that was fixed in 0.4.1
exists in nanvar(). Thank you, Christoph, for pointing that out. Fixed
in Bottleneck 0.4.2.

> download
>   http://pypi.python.org/pypi/Bottleneck
> docs
>   http://berkeleyanalytics.com/bottleneck
> code
>   http://github.com/kwgoodman/bottleneck
> mailing list
>   http://groups.google.com/group/bottle-neck
> mailing list 2
>   http://mail.scipy.org/mailman/listinfo/scipy-user
>


More information about the SciPy-User mailing list