
26 Oct
2005
26 Oct
'05
2:57 p.m.
After installing numarray-1.4.0, I get a Segmentation fault when comparing two instances of the same string-array. For example:
from numarray.strings import asarray
for x in range(1000,1000000,1000): print x raw = ['abcde']*x arr = asarray(raw) arr == arr
gives:
1000 2000 3000 4000 5000 6000 Segmentation fault
I verified that this works correctly in numarray-1.3.3. Also, the problem can be avoided in 1.4.0 by replacing 'arr == arr' with 'arr = arr.copy()'.
Can anyone else reproduce this, or is a problem with my environment?
Thanks, John