[NumPy-Tickets] [NumPy] #1878: numpy.argmin() fails to find the minimum for the most negative integer

NumPy Trac numpy-tickets@scipy....
Tue Jul 26 04:26:06 CDT 2011


#1878: numpy.argmin() fails to find the minimum for the most negative integer
----------------------+-----------------------------------------------------
 Reporter:  tlatorre  |       Owner:  somebody    
     Type:  defect    |      Status:  needs_review
 Priority:  normal    |   Milestone:  Unscheduled 
Component:  Other     |     Version:  1.3.0       
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by alfonsonp):

 I have produced a new patch that fix this issue (0001-ABA-Test-and-fix-
 for-argmin-in-integers-v2.patch). The only difference with the previous
 one is the added code place. In this way, it avoids a possible memory leak
 for obj variable if the return of PyArray_EnsureAnyArray (for op) is NULL.

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


More information about the NumPy-Tickets mailing list