[Numpy-discussion] searchsorted bug

Christopher Barker Chris.Barker@noaa....
Thu Jan 31 11:33:25 CST 2008

lorenzo bolla wrote:
>  * All arrays are assumed contiguous on entry and both arr and key must 
> be of    <-----
>  * the same comparable type. <-----
> A and B are not of the same type ('|S2' is not '|S1').
> This should be mentioned somewhere more accessible.

It should also raise an exception -- something that *sometimes* works, 
and sometimes doesn't is really asking for trouble!


Christopher Barker, Ph.D.

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception


More information about the Numpy-discussion mailing list