octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty s


From: Marco Caliari
Subject: [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix.
Date: Mon, 6 May 2019 09:24:13 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

Follow-up Comment #9, bug #56232 (project octave):

It is not C-C to be marked as triangular. SparseMatrix::inverse is called in
dSparse.cc. The branch if (! mattype.ishermitian ()) is entered,
octave::math::sparse_lu<SparseMatrix> fact is computed and, instead of
failing, InvL and InvU are tried to be computed. Notice that if you replace C
with


C = complex (sparse (ones (2)));


fact is computed, but then you get the nicer message


error: inv: sparse_lu: symbolic factorization failed


from sparse_lu. I don't know if it is related with bug #53390 (it is currently
not safe to use UMFPACK to factorize into LU a sparse matrix without column
reordering).

@David: nice to hear you again.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56232>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]