summaryrefslogtreecommitdiffstats
path: root/src/PAPRStats.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-30 09:55:45 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-30 10:06:23 +0100
commit18276a5d2eac39b08caa2ce44e196e7a98f1a108 (patch)
tree2a45036399b0522af6e2a554c9e2a9877b30ef62 /src/PAPRStats.h
parente0c9959bb4303b81e43fff7efe23f4f583f8422f (diff)
downloaddabmod-18276a5d2eac39b08caa2ce44e196e7a98f1a108.tar.gz
dabmod-18276a5d2eac39b08caa2ce44e196e7a98f1a108.tar.bz2
dabmod-18276a5d2eac39b08caa2ce44e196e7a98f1a108.zip
Calculate PAPR in the OfdmGenerator
Diffstat (limited to 'src/PAPRStats.h')
-rw-r--r--src/PAPRStats.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PAPRStats.h b/src/PAPRStats.h
index 9463a3d..92e5231 100644
--- a/src/PAPRStats.h
+++ b/src/PAPRStats.h
@@ -64,7 +64,7 @@ class PAPRStats
/* Returns PAPR in dB if enough blocks were processed, or
* 0 otherwise.
*/
- double calculate_papr(void);
+ double calculate_papr(void) const;
private:
size_t m_num_blocks_to_accumulate;