diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-19 21:09:21 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-20 00:31:10 +0200 |
| commit | 50cbf811b8186e1ee521b5f6243068361d6dd7a3 (patch) | |
| tree | 5217dacd2cc96019bf42c16a354cadcc43a445dd | |
| parent | 9192e363b058ab5cf7672609521489113f0e3667 (diff) | |
Unnecessary return value.
| -rw-r--r-- | src/leqm-nrt.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/leqm-nrt.cc b/src/leqm-nrt.cc index 83533e6..9b65731 100644 --- a/src/leqm-nrt.cc +++ b/src/leqm-nrt.cc @@ -141,12 +141,11 @@ private: return stsum / nsamples; } - int accumulate_ch(std::vector<double>& ch_accumulator, std::vector<double> const& input_channel, int nsamples) const + void accumulate_ch(std::vector<double>& ch_accumulator, std::vector<double> const& input_channel, int nsamples) const { for (auto i = 0; i < nsamples; i++) { ch_accumulator[i] += input_channel[i]; } - return 0; } std::vector<double> rectify(std::vector<double> const& input) const |
