diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-10-01 23:43:07 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-10-01 23:43:07 +0200 |
| commit | 98ab56732cdd5ae01fc605e890ee87924d73e02e (patch) | |
| tree | 2380bad5df43c2477f3558741d298b9ad7e75ed5 /src | |
| parent | 30dcaea1373ac62fba050e02ce5b0c1085797a23 (diff) | |
Cleanup: remove unused method.
Diffstat (limited to 'src')
| -rw-r--r-- | src/leqm_nrt.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/leqm_nrt.cc b/src/leqm_nrt.cc index 280cab8..e50a421 100644 --- a/src/leqm_nrt.cc +++ b/src/leqm_nrt.cc @@ -84,16 +84,6 @@ public: private: - double sum_and_short_term_avrg(std::vector<double>const & channel_accumulator, int nsamples) const - { - double stsum = 0.0; - for (auto i = 0; i < nsamples; i++) { - stsum += channel_accumulator[i]; - - } - return stsum / nsamples; - } - void accumulate_ch(std::vector<double>& ch_accumulator, std::vector<double> const& input_channel, int nsamples) const { for (auto i = 0; i < nsamples; i++) { |
