|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #40712] Running into index errors with large, 64k square sparse matrices |
Date: | Wed, 1 Aug 2018 18:36:13 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0 |
Update of bug #40712 (project octave): Status: Confirmed => Duplicate Open/Closed: Open => Closed _______________________________________________________ Follow-up Comment #3: Marking as a duplicate and closing report. Octave is now built by default with 64-bit indices which helps avoid some of these situations. The out-of-memory issue is real because there is no way to avoid converting the sparse matrix to a full one. With 64-bit indices you can use logical indexing, or choose linear indexing. For example, nz = find (D); D(nz) .^= -0.5; _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?40712> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |