[Numpy-tickets] [NumPy] #413: Reduction with noncommutative ufuncs is broken
NumPy
numpy-tickets at scipy.net
Mon Jan 8 11:22:07 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 | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Comment (by charris):
What is happening is that instead of subtracting the new number from the
previous result, the previous result is being subtracted from the new
number. So you start with 0, and the sequence of operations continues:
0 = 0 - 0
1 = 1 - 0
1 = 2 - 1
2 = 3 - 1
2 = 4 - 2
3 = 5 - 2
--
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/413#comment:1>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list