On Mon, Jul 15, 2013 at 6:22 PM, Stéfan van der Walt <[email protected]>wrote:
> On Mon, 15 Jul 2013 08:33:47 -0600, Charles R Harris wrote: > > On Mon, Jul 15, 2013 at 8:25 AM, Benjamin Root <[email protected]> wrote: > > > > > This is going to need to be heavily documented with doctests. Also, > just > > > to clarify, are we talking about a ValueError for doing a nansum on an > > > empty array as well, or will that now return a zero? > > > > > > > > I was going to leave nansum as is, as it seems that the result was by > > choice rather than by accident. > > That makes sense--I like Sebastian's explanation whereby operations that > define an identity yields that upon empty input. > So nansum should return zeros rather than the current NaNs? Chuck
_______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
