[Numpy-discussion] numarray-1.4.0 string-array comparisons problem

Todd Miller jmiller at stsci.edu
Thu Oct 27 10:51:40 CDT 2005


John A Chaves wrote:

>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
>  
>
>Can anyone else reproduce this, or is a problem with my environment?
>  
>
Yes,  I was able to reproduce this too,  thanks for the report and for 
logging on SF.    I understand the problem and am working out a fix now.

Regards,
Todd






More information about the Numpy-discussion mailing list