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: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix.
Date: Tue, 30 Apr 2019 18:00:01 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

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

It is actually the double difference:


octave:1> C = sparse (ones (2))
C =

Compressed Column Sparse (rows = 2, cols = 2, nnz = 4 [100%])

  (1, 1) ->  1
  (2, 1) ->  1
  (1, 2) ->  1
  (2, 2) ->  1

octave:2> a = C - C
a =

Compressed Column Sparse (rows = 2, cols = 2, nnz = 0 [0%])


octave:3> b = a - a
b =

Compressed Column Sparse (rows = 2, cols = 2, nnz = 0 [0%])


octave:4> inv(b)
error: inv: sparse_lu: symbolic factorization failed
octave:4> inv(a)

Thread 10 "QThread" received signal SIGSEGV, Segmentation fault.
...


Dmitri.
-- 


    _______________________________________________________

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]