Re: bug on compressed_matrix ?
Thomas Klimpel <[email protected]>
| Newsgroups | gmane.comp.lib.boost.ublas |
|---|---|
| Message-ID | <4468C9C2AE594745A32DC93C799A224A031F5D@DE02WEMBX2.internal.synopsys.com> |
Hoang Giang Bui wrote: > Yes, the result is improved but it missed the last element. The matrix > has the last row is zero, therefore there should be another entry 141 in > the inde1_data vector. In fact, I expected P. index1_data().size() =187 > and it was correct, just the last entry of P.index1_data() is wrong. Well, P.filled1()=186 and P. index1_data().size() is irrelevant, so your expectation was only partly correct. But I guess we both understand what actually happens. So, does the current treatment of empty trailing rows cause problems for you? Do you need to pass the data from matrix P to some external software that could handle empty rows? (Which software is this?) If it does cause problems, then maybe one could think about changing that behavior, but it's not really a bug. Regards, Thomas _______________________________________________ ublas mailing list [email protected] http://lists.boost.org/mailman/listinfo.cgi/ublas Sent to: [email protected]