[Bug 263781] Re: Some slices of Numeric.array are wrong
MKrause
mrkrause at gmail.com
Fri Jan 8 23:53:03 UTC 2010
I can confirm that this is a 32/64 bit problem.
On 32-bit karmic 9.10 (using Numeric 24.2, python 2.6.4), I get the expected behavior:
>>> Numeric.arange(0,3)[1:]
array([1, 2])
>>> Numeric.arange(0,3)[1::]
array([1, 2])
Using the same versions on 64-bit karmic/9.10, I get the following:
>> Numeric.arange(0,3)[1:] #This gives the wrong answer
zeros((0,), 'l')
>>> Numeric.arange(0,3)[1::] #This seems to work
array([1, 2])
--
Some slices of Numeric.array are wrong
https://bugs.launchpad.net/bugs/263781
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list