Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 90fb1aa7 authored by hhakim's avatar hhakim
Browse files

Fix a bug in a MatSparse ctor ; dimensions inconsistency against eigen internal matrix.

parent 0085daf1
Branches
Tags
No related merge requests found
......@@ -362,6 +362,7 @@ Faust::MatSparse<FPP,Cpu>::MatSparse(const unsigned int* rowidx, const unsigned
mat.setFromTriplets(tripletList.begin(), tripletList.end());
mat.makeCompressed();
this->nnz = mat.nonZeros();
this->update_dim();
}
template<typename FPP>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment