[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #32011] Tweak : sparse matrix should report 10
From: |
Judd Storrs |
Subject: |
[Octave-bug-tracker] [bug #32011] Tweak : sparse matrix should report 100% when full rather than 1e02% |
Date: |
Thu, 30 Dec 2010 18:58:00 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Ubuntu/10.04 Chromium/8.0.552.224 Chrome/8.0.552.224 Safari/534.10 |
Follow-up Comment #1, bug #32011 (project octave):
Here's a simple patch.
octave:1> a = sparse ([1,0])
a =
Compressed Column Sparse (rows = 1, cols = 2, nnz = 1 [50%])
(1, 1) -> 1
octave:2> a(end) = 1
a =
Compressed Column Sparse (rows = 1, cols = 2, nnz = 2 [100%])
(1, 1) -> 1
(1, 2) -> 1
(file #22325)
_______________________________________________________
Additional Item Attachment:
File name: bug32011.patch Size:1 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32011>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/