[Numpy-discussion] searchsorted bug

James Philbin philbinj@gmail....
Thu Jan 31 11:33:08 CST 2008


Hi,

> In particular:
>
>  * All arrays are assumed contiguous on entry and both arr and key must be
> of    <-----
>  * the same comparable type. <-----
In which case, this seems to be an overly strict implementation of
searchsorted. Surely all that should be required is that the
comparison function can take both types.

James


More information about the Numpy-discussion mailing list