octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: negative indeces found by "find"


From: Jaroslav Hajek
Subject: Re: negative indeces found by "find"
Date: Sun, 14 Nov 2010 21:04:43 +0100

On Tue, Oct 26, 2010 at 10:25 PM, David Bateman <address@hidden> wrote:
> Levente Torok wrote:
>> Hi David,
>>
>> This seems to be an index overflow.
>> I uploaded the matrix here:
>> <URL deleted
>> Let me know if you have downloaded. I need to delete it.
>>
>> Thanks,
>> Lev
>>
>
> Ok I've downloaded the file and I can reproduce this, but its not a bug
> as such... The issue is that the size of the matrix is 101970 by 333596
> and 101970*333596 is greater than 2^31 which is the larger integer index
> that octave can use. So you are seeing an integer overflow.
>

In general, when you are trying to use linear indexing with a sparse
matrix that is too big for the index type, you get the out-of-memory
exception. Maybe this should do the same?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]