Opened 10 years ago

Last modified 9 years ago

#7337 new Patches

sparse_view.hpp: wrong copy-constructor for compressed_matrix_view

Reported by: Marco Guazzone <marco.guazzone@…> Owned by: Gunter
Milestone: To Be Determined Component: uBLAS
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc: antoshkka@…

Description

The copy constructor for compressed_matrix_view (in boost/numeric/ublas/experimental/sparse_view.hpp) is wrong: it doesn't copy any member from the input argument.

I upload a patch for this, along with the patched file.

Attachments (2)

sparse_view-201209061016.patch (844 bytes ) - added by Marco Guazzone <marco.guazzone@…> 10 years ago.
Patch to fix the copy-constructor of compressed_matrix_view.
sparse_view.hpp (10.2 KB ) - added by Marco Guazzone <marco.guazzone@…> 10 years ago.
The sparse_view.hpp}} resulting after applying patch {{{sparse_view-201209061016.

Download all attachments as: .zip

Change History (3)

by Marco Guazzone <marco.guazzone@…>, 10 years ago

Patch to fix the copy-constructor of compressed_matrix_view.

by Marco Guazzone <marco.guazzone@…>, 10 years ago

Attachment: sparse_view.hpp added

The sparse_view.hpp}} resulting after applying patch {{{sparse_view-201209061016.

comment:1 by Antony Polukhin, 9 years ago

Cc: antoshkka@… added
Type: BugsPatches
Note: See TracTickets for help on using tickets.