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
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 with:
Fatal Python error: deallocating None
A