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: John W. Eaton
Subject: [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix.
Date: Wed, 8 May 2019 10:59:54 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

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

What happens if, instead of the divide by zero warnings, you create a +/-Inf
or NaN element in the output at the location in the output array where the
divide by zero would have occurred?  +/-Inf if the numerator is non-zero and
NaN if it is 0 (not present).  I think this change will require some care,
because the zero in the denominator could (or would?) be a value not stored in
the sparse array.  I've looked at tinverse, but I don't know immediately see
how to modify it to do what I'm suggesting.


    _______________________________________________________

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]