[NumPy-Tickets] [NumPy] #1938: nditer reusing reduce loop inappropriately

NumPy Trac numpy-tickets@scipy....
Thu Aug 18 18:22:54 CDT 2011


#1938: nditer reusing reduce loop inappropriately
------------------------+---------------------------------------------------
 Reporter:  mwiebe      |       Owner:  mwiebe     
     Type:  defect      |      Status:  new        
 Priority:  high        |   Milestone:  Unscheduled
Component:  numpy.core  |     Version:  1.6.0      
 Keywords:              |  
------------------------+---------------------------------------------------
 In changing how reductions work in my missingdata branch, the following
 caused a memory corruption:

 a = np.random.rand(100,100,100)
 np.minimum.reduce(a)

 I've tracked this down to the logic for reusing the reduction double loop
 structure when the buffer is smaller than the innermost loop.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1938>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list