Mentions légales du service

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

Fix TransformHelper<FPP, GPU2>::indexMultiply X_nrows initialization.

parent 358493ec
No related branches found
No related tags found
No related merge requests found
...@@ -927,7 +927,7 @@ namespace Faust ...@@ -927,7 +927,7 @@ namespace Faust
FPP* Faust::TransformHelper<FPP,GPU2>::indexMultiply(faust_unsigned_int* ids[2], size_t id_lens[2], const FPP* cpu_X, int X_ncols/*=1*/, FPP* cpu_out/*=nullptr*/) const FPP* Faust::TransformHelper<FPP,GPU2>::indexMultiply(faust_unsigned_int* ids[2], size_t id_lens[2], const FPP* cpu_X, int X_ncols/*=1*/, FPP* cpu_out/*=nullptr*/) const
{ {
int32_t X_nrows; int32_t X_nrows;
if(id_lens[0] > 0) if(id_lens[1] > 0)
X_nrows = id_lens[1]; X_nrows = id_lens[1];
else else
X_nrows = this->getNbCol(); X_nrows = this->getNbCol();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment