[Numpy-discussion] arange(-10)
Todd Miller
jmiller at stsci.edu
Mon Oct 7 11:50:07 CDT 2002
Travis Oliphant wrote:
>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
>
>
I replied to this earlier, but I may have forgotten to reply-all,
because I never saw my response.
Anyway, I don't think Numeric has a problem with
arange(<negative_value>), but numarray does. The vote is currently +3
"raise", +2 "compatible".
All votes appreciated
Todd
More information about the Numpy-discussion
mailing list