Mentions légales du service

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

Fix Visual Studio error C2131: expression did not evaluate to a constant.

Replace heap array by a stl vector.
parent 4c687a4f
No related branches found
No related tags found
No related merge requests found
Pipeline #833967 skipped
......@@ -350,7 +350,7 @@ Faust::MatDense<FPP,DEVICE> Faust::multiply_omp(const std::vector<Faust::MatGene
// until this this method is disabled at compilation unless we manually define the constant in CFLAGS (for example).
int nth, thid, num_per_th, data_size;
Faust::MatDense<FPP,DEVICE>* mats[8];
Faust::MatGeneric<FPP, DEVICE> * _data[data.size()+1];
std::vector<Faust::MatGeneric<FPP, DEVICE> *> _data(data.size()+1);
Faust::MatSparse<FPP, DEVICE> * sM;
Faust::MatDense<FPP,DEVICE>* tmp; // (_data[end_id-1]);
int i = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment