aboutsummaryrefslogtreecommitdiffstats
path: root/src/PhaseReference.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-11-05 16:45:35 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-11-05 16:47:06 +0100
commit7452ff0fd85da423a5be1fdc3873106160c6ccae (patch)
tree06216a157a17091ca0a7483d4b09923e35c502e3 /src/PhaseReference.cpp
parentf5214c20ae7fdbd4e00599c01bfb1321930fc805 (diff)
downloaddabmod-7452ff0fd85da423a5be1fdc3873106160c6ccae.tar.gz
dabmod-7452ff0fd85da423a5be1fdc3873106160c6ccae.tar.bz2
dabmod-7452ff0fd85da423a5be1fdc3873106160c6ccae.zip
Debug DEXTER FFT Acccelerator
Diffstat (limited to 'src/PhaseReference.cpp')
-rw-r--r--src/PhaseReference.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PhaseReference.cpp b/src/PhaseReference.cpp
index e2fb9a9..71dec87 100644
--- a/src/PhaseReference.cpp
+++ b/src/PhaseReference.cpp
@@ -176,10 +176,10 @@ int PhaseReference::process(Buffer* dataOut)
PDEBUG("PhaseReference::process(dataOut: %p)\n", dataOut);
if (d_fixedPoint) {
- dataOut->setData(&d_phaseRefFixed.dataIn[0], d_carriers * sizeof(complexfix));
+ dataOut->setData(d_phaseRefFixed.dataIn.data(), d_carriers * sizeof(complexfix));
}
else {
- dataOut->setData(&d_phaseRefCF32.dataIn[0], d_carriers * sizeof(complexf));
+ dataOut->setData(d_phaseRefCF32.dataIn.data(), d_carriers * sizeof(complexf));
}
return 1;