Re: Python/Numeric users be aware!

2008-10-29 Thread Benyang Tang
:53 am, Benyang <[EMAIL PROTECTED]> wrote: > Maybe it has been reported somewhere, but it is a big surprise to me. > > # Try the following: > import Numeric > a = Numeric.ones(10) > a[5:] = -1 > print a > > It works correctly on 32-bit linux machines and on 32-bit Wi

Python/Numeric users be aware!

2008-10-29 Thread Benyang
Maybe it has been reported somewhere, but it is a big surprise to me. # Try the following: import Numeric a = Numeric.ones(10) a[5:] = -1 print a It works correctly on 32-bit linux machines and on 32-bit Windows XP: [ 1 1 1 1 1 -1 -1 -1 -1 -1] It is totally screwed up on 64-bit linux machine