[Numpy-discussion] searchsorted bug
Charles R Harris
Thu Jan 31 12:02:54 CST 2008
On Jan 31, 2008 10:55 AM, James Philbin <email@example.com> wrote:
> > True. The problem is knowing when that is the case. The subroutine in
> > question is at the bottom of the heap and don't know nothin'. IIRC, it
> > sits there and does the comparison by calling through a pointer with
> > arguments.
> What does the comparison function actually look like for the case of
> dtype='|Sn'? Is there no way of sending the underlying types to the
> comparison, so it can throw an exception if the two data types are not
There is an upper level routine that parses the keywords and sets things up.
There may even be two upper level routines, but I don't recall. The purpose
of the two routines you touched was to pull out a small block of code that
could be very simple because of its assumptions.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion