[Numpy-discussion] numarray argmax problem
Otto Tronarp
otto at tronarp.se
Sat Feb 3 11:39:11 EST 2007
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
Aborted
I'm using numarray 1.5.2
Any chance that there is an easy fix for this? I know I should
consider switching to numpy, but I don't have the time right now to do
that.
Otto
More information about the NumPy-Discussion
mailing list