Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 8860f2dc authored by hhakim's avatar hhakim
Browse files

Fix bug into Faust::Transform::save_mat_file(), the number of faust factors saved was always two.

parent 236f92ef
No related branches found
No related tags found
No related merge requests found
......@@ -263,7 +263,7 @@ void Faust::Transform<FPP, Cpu>::save_mat_file(const char* filename) const
}
// write the faust cell array
dims[0] = 1;
dims[1] = 2;
dims[1] = size();
faust_matvar = Mat_VarCreate("faust_factors", MAT_C_CELL, MAT_T_CELL, 2, dims,
faust_factor_matvars, MAT_F_DONT_COPY_DATA);
if(faust_matvar == NULL)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment