Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 36d00858 authored by hhakim's avatar hhakim
Browse files

Fix MatSparse<FPP, GPU2>::tocpu(MatSparse<FPP, Cpu>&) in case of zero MatSparse.

parent cdd4f1ee
Branches
Tags
No related merge requests found
Pipeline #847775 passed
......@@ -190,6 +190,8 @@ namespace Faust
{
sp_mat.resize(nnz, nrows, ncols);
}
if(! sp_mat.getNonZeros())
return;
tocpu(sp_mat.getRowPtr(), sp_mat.getColInd(), sp_mat.getValuePtr());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment