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.
Loading
Please register or sign in to comment