[Numpy-discussion] numpy.nansum() behavior in 1.3.0

2009-06-01 Thread Michael Hearne
A question (and possibly a bug): What should be returned when I do: numpy.nansum([]) In my copy of numpy 1.1.1, I get 0.0. This is what I would expect to see. However, this behavior seems to have changed in 1.3.0, in which I get nan. Thanks, Mike __

Re: [Numpy-discussion] memoryerror with numpy.fromfile

2009-05-21 Thread Michael Hearne
or is perhaps a little misleading for this particular case, but oh well. Thanks for the comments! --Mike On May 21, 2009, at 11:46 AM, Charles R Harris wrote: On Thu, May 21, 2009 at 10:31 AM, Michael Hearne wrote: I am getting a MemoryError from a numpy.fromfile() call in an applicat

[Numpy-discussion] memoryerror with numpy.fromfile

2009-05-21 Thread Michael Hearne
I am getting a MemoryError from a numpy.fromfile() call in an application I am trying to deploy. Normally I would assume that this would mean that I don't have enough memory available on the system. However, if I run vmstat (Linux) at the same time as my process, I see that I have 3+ Giga