[Numpy-discussion] Vectorize bug

Stefan van der Walt stefan at sun.ac.za
Wed Apr 12 05:43:27 CDT 2006


Hello all

Vectorize segfaults for large arrays.  I filed the bug at

http://projects.scipy.org/scipy/numpy/ticket/52

The offending code is

import numpy as N
x = N.linspace(-3,2,10000)
y = N.vectorize(lambda x: x)

# Segfaults here
y(x)

Regards
Stéfan




More information about the Numpy-discussion mailing list