aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/OfdmGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OfdmGenerator.cpp b/src/OfdmGenerator.cpp
index d9c3608..1331e63 100644
--- a/src/OfdmGenerator.cpp
+++ b/src/OfdmGenerator.cpp
@@ -232,7 +232,7 @@ int OfdmGenerator::process(Buffer* const dataIn, Buffer* dataOut)
if (myCfr) {
if (myMERCalcIndex == i) {
before_cfr.resize(mySpacing);
- memcpy(reinterpret_cast<fftwf_complex*>(reference.data()),
+ memcpy(reinterpret_cast<fftwf_complex*>(before_cfr.data()),
myFftOut, mySpacing * sizeof(FFT_TYPE));
}