Hi,
I've been looking at a 64-bit numpy problem we were having on Solaris:
>>> a=numpy.zeros(0x18000,dtype='b1')
>>> a.data
Traceback (most recent call last):
File "", line 1, in
ValueError: size must be zero or positive
A working fix seemed to be this:
Index: arrayobject.c
=
Otto Tronarp wrote:
> Hi,
>
> I have a problem with numarray.argmax, the following code
>
> import numarray as N
> import sys
> c = N.zeros((10, ), N.Float64)
> while 1:
> print 'B: ', sys.getrefcount(None)
> l = N.argmax(c)
> print 'A: ', sys.getrefcount(None)
> print
>
> Dies