projects
/
leqm-nrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9192e36
)
Unnecessary return value.
author
Carl Hetherington
<cth@carlh.net>
Sun, 19 Apr 2020 19:09:21 +0000
(21:09 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 19 Apr 2020 22:31:10 +0000
(
00:31
+0200)
src/leqm-nrt.cc
patch
|
blob
|
history
diff --git
a/src/leqm-nrt.cc
b/src/leqm-nrt.cc
index 83533e64d321266376dc57792bc5577f95961180..9b65731742872a0aec41c5c0d09c3a8ca2160bf1 100644
(file)
--- 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