[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51950] sparse qr may return a malformed spars
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #51950] sparse qr may return a malformed sparse matrix R with out of bounds entries |
Date: |
Wed, 6 Sep 2017 19:50:57 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #10, bug #51950 (project octave):
Unfortunately, it doesn't seem to be the sorting. I commented out the sort
code and then re-ran the example
r =
Compressed Column Sparse (rows = 5, cols = 6, nnz = 6 [20%])
(1, 1) -> -0.80000
(2, 2) -> -1.4000
(3, 3) -> -0
(4, 4) -> -0
(5, 5) -> -0
(6, 6) -> 0.50000
So the extra zeros are not dropped, but the problem remains at location
(6,6).
Maybe we aren't calling QR correctly, or we've discovered some weird
longstanding bug in the library. Someone who understands the CSPARSE library
needs to help out here.
The call is at line 208 of sparse_qr.cc
BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE;
S = CXSPARSE_DNAME (_sqr) (order, &A, 1);
N = CXSPARSE_DNAME (_qr) (&A, S);
END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE;
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51950>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #51950] Segfault during a sparse QR factorization, (continued)
- [Octave-bug-tracker] [bug #51950] Segfault during a sparse QR factorization, Doug Stewart, 2017/09/05
- [Octave-bug-tracker] [bug #51950] Segfault during a sparse QR factorization, Dmitri A. Sergatskov, 2017/09/05
- [Octave-bug-tracker] [bug #51950] Segfault during a sparse QR factorization, Marco Caliari, 2017/09/06
- [Octave-bug-tracker] [bug #51950] Segfault during a sparse QR factorization, Mike Miller, 2017/09/06
- [Octave-bug-tracker] [bug #51950] Segfault during a sparse QR factorization, Mike Miller, 2017/09/06
- [Octave-bug-tracker] [bug #51950] Segfault during a sparse QR factorization, Mike Miller, 2017/09/06
- [Octave-bug-tracker] [bug #51950] sparse qr may return a malformed sparse matrix R with out of bounds entries, Mike Miller, 2017/09/06
- [Octave-bug-tracker] [bug #51950] sparse qr may return a malformed sparse matrix R with out of bounds entries, Marco Caliari, 2017/09/06
- [Octave-bug-tracker] [bug #51950] sparse qr may return a malformed sparse matrix R with out of bounds entries, Rik, 2017/09/06
- [Octave-bug-tracker] [bug #51950] sparse qr may return a malformed sparse matrix R with out of bounds entries, Rik, 2017/09/06
- [Octave-bug-tracker] [bug #51950] sparse qr may return a malformed sparse matrix R with out of bounds entries,
Rik <=
- [Octave-bug-tracker] [bug #51950] sparse qr may return a malformed sparse matrix R with out of bounds entries, Dmitri A. Sergatskov, 2017/09/07
- [Octave-bug-tracker] [bug #51950] sparse qr may return a malformed sparse matrix R with out of bounds entries, Joseph Young, 2017/09/07
- [Octave-bug-tracker] [bug #51950] sparse qr may return a malformed sparse matrix R with out of bounds entries, Marco Caliari, 2017/09/07
- [Octave-bug-tracker] [bug #51950] sparse qr may return a malformed sparse matrix R with out of bounds entries, Joseph Young, 2017/09/09
- [Octave-bug-tracker] [bug #51950] sparse qr may return a malformed sparse matrix R with out of bounds entries, Rik, 2017/09/09
- [Octave-bug-tracker] [bug #51950] sparse qr may return a malformed sparse matrix R with out of bounds entries, Dmitri A. Sergatskov, 2017/09/09
- [Octave-bug-tracker] [bug #51950] sparse qr may return a malformed sparse matrix R with out of bounds entries, Dmitri A. Sergatskov, 2017/09/09
- [Octave-bug-tracker] [bug #51950] sparse qr may return a malformed sparse matrix R with out of bounds entries, Rik, 2017/09/24