[SciPy-User] ndimage convolve segmentation fault

Matthew Brett matthew.brett@gmail....
Tue Nov 2 23:32:15 CDT 2010


Hi,

On Tue, Nov 2, 2010 at 8:19 PM, Keith Goodman <kwgoodman@gmail.com> wrote:
> Can anyone reproduce this on a newer scipy?
>
>>> scipy.__version__
>   '0.7.2'
>>> a = np.random.rand(5,5)
>>> b = ndimage.convolve(a, np.ones((1,2)), origin=0)
>>> b = ndimage.convolve(a, np.ones((1,2)), origin=-1)
> Segmentation fault
>
> I'm on Ubuntu 10.04 with numpy 1.4.1. Scipy.test() is clean.

Yup - same with:

OS X snow leopard
scipy as of a few weeks ago
numpy 1.5.0

See you,

Matthew


More information about the SciPy-User mailing list