[NumPy-Tickets] [NumPy] #2097: searchsorted(sorter=) test error

NumPy Trac numpy-tickets@scipy....
Wed Apr 4 16:13:41 CDT 2012


#2097: searchsorted(sorter=) test error
--------------------------+-------------------------------------------------
 Reporter:  rgommers      |       Owner:  charris
     Type:  defect        |      Status:  new    
 Priority:  normal        |   Milestone:  1.7.0  
Component:  numpy.core    |     Version:  1.6.1  
 Keywords:  searchsorted  |  
--------------------------+-------------------------------------------------

Comment(by charris):

 Thinking a bit more, the indices should probably be bounds checked on the
 fly in the search routine with an error return. That means the functions
 need to be changed to return an int, but otherwise the fix should be
 pretty straight forward from there.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/2097#comment:5>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list