[Numpy-discussion] bug in numpy.equal?

Tom Denniston tom.denniston@alum.dartmouth....
Wed Feb 7 13:16:53 CST 2007


got it.  thanks.

On 2/7/07, Travis Oliphant <oliphant@ee.byu.edu> wrote:
> 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
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>


More information about the Numpy-discussion mailing list