From 18276a5d2eac39b08caa2ce44e196e7a98f1a108 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 30 Dec 2017 09:55:45 +0100 Subject: Calculate PAPR in the OfdmGenerator --- src/PAPRStats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/PAPRStats.cpp') diff --git a/src/PAPRStats.cpp b/src/PAPRStats.cpp index bf6acc4..2e8bca9 100644 --- a/src/PAPRStats.cpp +++ b/src/PAPRStats.cpp @@ -69,7 +69,7 @@ void PAPRStats::process_block(const complexf* data, size_t data_len) } } -double PAPRStats::calculate_papr() +double PAPRStats::calculate_papr() const { if (m_squared_mean.size() < m_num_blocks_to_accumulate) { return 0; -- cgit v1.2.3