[Numpy-discussion] bug in numpy.equal?

Travis Oliphant oliphant@ee.byu....
Wed Feb 7 11:04:14 CST 2007


Tom Denniston wrote:

>The behavior below seems strange to me.  The string array is type S3
>yet it says that comparison with 'abc' is not implemented.  The ==
>operator seems to work though.  Is there a subtlty I am missing or is
>it simply a bug?
>
>  
>

No bug.  Ufuncs do not work with variable-sized arrays.  However, we 
have implemented the equal operator using a different approach.  

-Travis



More information about the Numpy-discussion mailing list