Skip to content
Commit 489c1196 authored by Karl Rupp's avatar Karl Rupp
Browse files

uBLAS: Fixed viennacl::copy() from ublas when matrix has empty rows.

CSR-data structure (row array) for ublas::compressed_matrix is not fully set up if some rows remain empty.
As a consequence, just copying over the row-array is not enough.
This commit replaces the plain copy with a manual build of the row array.
parent eb76eecb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment