aboutsummaryrefslogtreecommitdiffstats
path: root/src/PAPRStats.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-10-05 17:24:31 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-10-05 17:24:31 +0200
commitb563b465e8b3df367da7799e789d29e0009cb96a (patch)
tree2ddc718b8c4df52625f074f2810b7a7c21559665 /src/PAPRStats.h
parentd59e9588660c1f7fe956aa2b97e3691070a4ce04 (diff)
downloaddabmod-b563b465e8b3df367da7799e789d29e0009cb96a.tar.gz
dabmod-b563b465e8b3df367da7799e789d29e0009cb96a.tar.bz2
dabmod-b563b465e8b3df367da7799e789d29e0009cb96a.zip
Move typedef of complexf to Buffer.h
Diffstat (limited to 'src/PAPRStats.h')
-rw-r--r--src/PAPRStats.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/PAPRStats.h b/src/PAPRStats.h
index 86ad8b0..a4ded86 100644
--- a/src/PAPRStats.h
+++ b/src/PAPRStats.h
@@ -31,12 +31,9 @@
#endif
#include <cstddef>
-#include <vector>
#include <deque>
#include <complex>
-typedef std::complex<float> complexf;
-
/* Helper class to calculate Peak-to-average-power ratio.
* Definition of PAPR:
*
@@ -53,6 +50,8 @@ typedef std::complex<float> complexf;
*/
class PAPRStats
{
+ typedef std::complex<float> complexf;
+
public:
PAPRStats(size_t num_blocks_to_accumulate);