[SciPy-dev] [SciPy-user] calculating factorial
Darren Dale
dd55 at cornell.edu
Sat Nov 19 13:22:40 EST 2005
On Saturday 19 November 2005 11:26 am, Pearu Peterson wrote:
> With the revision 1516 of scipy core arange seems to have ref.counting
>
> problem:
> >>> from scipy import *
> >>> prod(arange(2,101,dtype=object))
>
> Illegal instruction
>
> >>> from scipy import *
> >>> a=prod(arange(2,101,dtype=object))
> >>> a
>
> Illegal instruction
>
> >>> from scipy import *
> >>> a=arange(2,101,dtype=object)
> >>> b=prod(a)
> >>> b
>
> 9.3326215443944102e+157
>
>
> Anyone can reproduce these segfaults?
I can. Same version: 1516.
More information about the SciPy-Dev
mailing list