[SciPy-dev] [SciPy-user] segfault in scipy.random.standard_normal

Andrew Jaffe a.h.jaffe at gmail.com
Sat Dec 3 07:08:27 CST 2005


Travis Oliphant wrote:
>>>Something is squirrely with the size argument in standard_normal:
>>>
>>>In [5]: random.standard_normal()
>>>Out[5]: 0.31727273308342824
>>>
>>>In [6]: random.standard_normal(2)
>>>Segmentation fault
>>>
>>>I'm using a recent svn build from scipy_core.
>>>   
>>>
> 
> 
> I've been mucking with the C-API lately and whenever that happens 
> strange errors can occur unless you rebuild everything.   

Aha! That fixed my normal() problem, too.

Perhaps you can 'touch' the appropriate files when you do a new checkin 
so that the correct files get rebuilt when we 'svn update' and then 
rebuild? Or should we always assume that's needed?

A




More information about the Scipy-dev mailing list