[Top][All Lists]

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

[Octave-bug-tracker] [bug #50575] Integer overflow in whos when calculat

From: Colin Macdonald
Subject: [Octave-bug-tracker] [bug #50575] Integer overflow in whos when calculating total elements in matrix
Date: Wed, 22 Aug 2018 14:10:38 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Follow-up Comment #4, bug #50575 (project octave):

A reasonable argument can be made for why such a sparse matrix cannot be
linearly indexed, e.g., A(10) as opposed to A(1,1) b/c A(end) is longer than

But the point is, if I can create such a matrix, I should be able to call
"whos" and see that I made one.

Also, note `numel(A)` returns a double from the users point of view so from
her point of view, why should `prod(size(A))` work but `numel(A)` doesn't.


Reply to this item at:


  Message sent via Savannah

reply via email to

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