[Numpy-discussion] arange(-10)

Travis Oliphant oliphant at ee.byu.edu
Mon Oct 7 08:54:02 CDT 2002


On Mon, 7 Oct 2002, Todd Miller wrote:

> The subject line contains what I consider to be an invalid range
> expression.   Numarray, now and always, reacts badly to it.  Currently,
> numarray tries to allocate a multi-gigabyte array.   In the past, it has
> dumped core.
>
> The question is, what should it do?
>
> 1. raise ValueError, "Invalid negative range expression"     (my +1)
+1

I didn't realize Numeric behaved badly in this area.

-Travis






More information about the Numpy-discussion mailing list