[Numpy-discussion] searchsorted bug

James Philbin philbinj at gmail.com
Thu Jan 31 12:33:08 EST 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