diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-19 21:09:21 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-19 21:09:21 +0200 |
| commit | 0862f4b5eed4d865cb8e40f5f36f4c5afb56edbe (patch) | |
| tree | 5217dacd2cc96019bf42c16a354cadcc43a445dd | |
| parent | bcd1b34a501d9cb77d2fa2e4685a94609985f3b2 (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 |
