[Numpy-discussion] Bug Compiling Numeric on amd64
Todd Miller
jmiller at stsci.edu
Mon Oct 4 09:21:32 EDT 2004
On Mon, 2004-10-04 at 10:48, Flavio Coelho wrote:
> Hi,
>
> look at this:
>
> >>> from RandomArray import *
>
> >>> normal(2,2,10)
> array([ 2., 2., 2., 2., 2., 2., 2., 2., 2., 2.])
>
> This is Numeric 23.1 compiled on my AMD64!!! I ran the same tests on a 32bit
> P4 and it ran fine.
> Has anyone else seen this before?
>
This was discussed here briefly last week after I forwarded your post
from matplotlib-users. Pearu Peterson posted a patch which he had
already performed for SciPy and I applied it to Numeric on Source
Forge. Thanks for raising the issue.
Regards,
Todd
>
> luckily:
>
> >>> from numarray.random_array import *
>
> >>> normal(2,2,10)
> array([-0.04525638, 4.31467819, -0.17468357, 5.29377031, 0.84202135,
> 5.29593539, 4.69651532, 1.61354655, 1.10839236, 1.7743317 ])
>
> Both modules were compiled on my gentoo box with:
>
> gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)
>
> any comments?
>
> Flavio
--
More information about the NumPy-Discussion
mailing list