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: Rik
Subject: [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix.
Date: Wed, 8 May 2019 18:39:17 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

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

Remaining things to review

1) Use of &dummy in dSparse.cc, CSparse.cc, sparse-chol.cc

I think these were put in when the data pointer for a sparse matrix could be
NULL.  This can't happen anymore and so can probably be removed.

2) Use of nzmax in mex.cc

I didn't look at this, but I think mxSetNzmax (or somewhere in the chain)
needs to be modified so that it can't set a value of 0.  Also, the
constructors for class mxArray_sparse probably need to be modified like the
Octave ones in Sparse.h so that they always create valid pointers.



    _______________________________________________________

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]