On 04/10/06, Robert Kern <[EMAIL PROTECTED]> wrote:
Yeah, a segfault would be problematic. Otherwise, it works and is in fact faster
than what I wrote.
It's a bit tricky to trigger but I think it was fixed in 1.0rc1 (in
changeset 3125, in fact:
http://projects.scipy.org/scipy/numpy/changeset/3125 )
Would it be useful for me to contribute the tiny script I wrote to
trigger it as a regression test?
A. M. Archibald
from numpy import vectorize, zeros
vt = vectorize(lambda *args: args)
# Removing either of the following lines cures the segfault
vt(zeros((1,2,1)), zeros((2,1,1)), zeros((1,1,2)))
vt(zeros((1,2,1)), zeros((2,1,1)), zeros((1,1,2)), zeros((2,2)))
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion