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: anonyme
Subject: [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix.
Date: Tue, 7 May 2019 09:04:02 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0

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

Looking at
[https://github.com/PetterS/SuiteSparse/blob/master/UMFPACK/Source/umfpack_qsymbolic.c]
the code for qsymbolic contains the lines


    if (!Ai || !Ap || !SymbolicHandle)
    {
        Info [UMFPACK_STATUS] = UMFPACK_ERROR_argument_missing ;
        return (UMFPACK_ERROR_argument_missing) ;
    }


right at the top. So the null pointers in the column index causes UMFPACK to
fail. Sorry Rik, the at least the column index needs to be initialized, though
the data can be a null pointer

David


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

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