|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix. |
Date: | Wed, 8 May 2019 14:00:01 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #43, bug #56232 (project octave): It does seem bad to return a full array, but the same problems can happen for non-singular sparse matrices since inversion can create a completely full matrix. In any case, we do need to avoid the segfault. It seems fine to me to always allocate the index and data pointers and ensure nzmax is at least 1 on both stable and default. _______________________________________________________ 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] |