diff options
Diffstat (limited to 'src/OfdmGenerator.cpp')
-rw-r--r-- | src/OfdmGenerator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/OfdmGenerator.cpp b/src/OfdmGenerator.cpp index 0f93977..c7e8ebf 100644 --- a/src/OfdmGenerator.cpp +++ b/src/OfdmGenerator.cpp @@ -34,8 +34,8 @@ OfdmGenerator::OfdmGenerator(size_t nbSymbols, size_t nbCarriers, size_t spacing, bool inverse) : - ModCodec(ModFormat(myNbSymbols * myNbCarriers * sizeof(FFT_TYPE)), - ModFormat(myNbSymbols * mySpacing * sizeof(FFT_TYPE))), + ModCodec(ModFormat(nbSymbols * nbCarriers * sizeof(FFT_TYPE)), + ModFormat(nbSymbols * spacing * sizeof(FFT_TYPE))), myFftPlan(NULL), myFftBuffer(NULL), myNbSymbols(nbSymbols), |