[Numpy-discussion] Bug or feature: sum vs. add.reduce

Sasha ndarray at mac.com
Wed Mar 22 14:22:06 CST 2006


Is this correct?

>>> numpy.array([1.,.5]).sum(dtype=None)
1.5
>>> numpy.add.reduce([1.,.5],dtype=None)
1




More information about the Numpy-discussion mailing list