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

NumPy numpy-tickets at scipy.net
Mon Jan 8 11:17:01 CST 2007


#413: Reduction with noncommutative ufuncs is broken
------------------------+---------------------------------------------------
 Reporter:  rkern       |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  high        |   Milestone:          
Component:  numpy.core  |     Version:  devel   
 Severity:  critical    |    Keywords:          
------------------------+---------------------------------------------------
 {{{
 In [21]: import numpy

 In [22]: numpy.subtract.reduce(numpy.arange(5))
 Out[22]: 2

 In [23]: import Numeric

 In [24]: Numeric.subtract.reduce(Numeric.arange(5))
 Out[24]: -10

 In [25]: print numpy.__version__
 1.0.2.dev3493

 In [26]: print Numeric.__version__
 24.2
 }}}

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


More information about the Numpy-tickets mailing list