|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #42116] "out of memory or dimension too large" regression going from 3.6.3 to 3.8.1 |
Date: | Thu, 24 Apr 2014 16:34:06 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0 |
Update of bug #42116 (project octave): Status: None => Fixed Open/Closed: Open => Closed _______________________________________________________ Follow-up Comment #4: The error in 3.8.1 is actually a better result than silently overflowing and returning a negative number for the number of elements. On the other hand, code that interacts with sparse matrices needs to be very sensitive to the fact that numel() may overflow. In a lot of sparse code it is better to look at nnz rather than numel. I made that change in spy.m on the stable branch in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/3994a1c2b994). It will be a parto of the 3.8.2 bug fix release, or you can just grab the spy.m from the Mercurial repository and replace your local version with the new one. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?42116> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |