|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix. |
Date: | Wed, 8 May 2019 18:32:19 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #45, bug #56232 (project octave): It took several hours to verify all uses of nzmax in Octave. I think changing Octave to universally reserve memory for a single value is okay. I checked in the change on the stable branche here (https://hg.savannah.gnu.org/hgweb/octave/rev/c0d8ce61c1c9). One nice thing is that it fixed a bad interaction with the amd libraries. Previously, octave:1> symamd ([]) symamd version 2.9, May 4, 2016: ERROR. Array A (row indices of matrix) not present. error: symamd: internal error! But now, octave:1> symamd ([]) ans = [](1x0) which is the same as Matlab. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?56232> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |