diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-02-11 18:06:52 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-02-11 18:08:03 +0100 |
commit | d90fd6f81d5bfed12664e5a4ae432b527c4a01c3 (patch) | |
tree | 0ded92c218c4f5adb2c9244fe7a4af456c8cc865 /src/OfdmGenerator.cpp | |
parent | 4c6edcfd277b0987bbf39345bcdcc223ed323813 (diff) | |
download | dabmod-d90fd6f81d5bfed12664e5a4ae432b527c4a01c3.tar.gz dabmod-d90fd6f81d5bfed12664e5a4ae432b527c4a01c3.tar.bz2 dabmod-d90fd6f81d5bfed12664e5a4ae432b527c4a01c3.zip |
fix invalid initialisation in OfdmGenerator and GuardIntervalInserter
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), |