[Numpy-tickets] [NumPy] #413: Reduction with noncommutative ufuncs is broken

NumPy numpy-tickets at scipy.net
Mon Jan 8 19:53:15 CST 2007

#413: Reduction with noncommutative ufuncs is broken
 Reporter:  rkern       |        Owner:  oliphant
     Type:  defect      |       Status:  new     
 Priority:  high        |    Milestone:          
Component:  numpy.core  |      Version:  devel   
 Severity:  critical    |   Resolution:          
 Keywords:              |  
Comment (by oliphant):

 Robert is correct about the diagnostic.  I believe that interchanging
 loop->bufptr[0] and loop->bufptr[1] everywhere in construct_reduce,
 PyArray_Reduce, PyArray_Accumulate, and PyArray_ReduceAt should do it.

 I'm testing that idea right now.

Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/413#comment:4>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.

More information about the Numpy-tickets mailing list