|
From: | Kai Torben Ohlhus |
Subject: | [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix. |
Date: | Thu, 9 May 2019 15:46:52 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36 |
Update of bug #56232 (project octave): Status: Patch Submitted => Ready For Test _______________________________________________________ Follow-up Comment #51: Thank you all for taking care. @Rik: Your patches solve my original issue: >> C = sparse (2, 2, 0); inv (C) error: inv: division by zero >> C = sparse (ones (2)); C = C - C; inv (C) error: inv: division by zero >> ver ---------------------------------------------------------------------- GNU Octave Version: 5.1.1 (hg id: c0d8ce61c1c9) GNU Octave License: GNU General Public License Operating System: Linux 4.12.14-lp150.12.58-default #1 SMP Mon Apr 115:20:46 UTC 2019 (58fcc15) x86_64 --------------------------------------------------------------------- Personally, I like the current error behavior of Octave. I am surprised, that Matlab actually creates Matrices with a huge fill-up when inverting a sparse or empty matrix. But as Marco says this might be a discussion for the developer list. The segfault is fixed, so this item for me :-) _______________________________________________________ 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] |