Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 7c701546 authored by hhakim's avatar hhakim
Browse files

Minor change in MatSparse::multiply(MatSparse).

Secure the data by nnz update.
parent f04b3486
No related branches found
No related tags found
No related merge requests found
......@@ -256,10 +256,13 @@ void Faust::MatSparse<FPP,Cpu>::multiply(Faust::MatSparse<FPP,Cpu> & M, char opT
M.mat = this->mat * M.mat;
else if(opThis == 'T')
M.mat = this->mat.transpose() * M.mat;
else // if(opThis == 'H')
else // if(opThis == 'H')
M.mat = this->mat.conjugate().transpose() * M.mat;
M.dim1 = nbRowOpS;
//M.dim2 doesn't change
M.nnz = M.mat.nonZeros();
}
template<typename FPP>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment