[Numpy-discussion] numarray-1.4.0 string-array comparisons problem
John A Chaves
chaves at computer.org
Wed Oct 26 18:57:32 CDT 2005
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
More information about the Numpy-discussion
mailing list