projects
/
debian
/
gnuradio
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9600dff
)
Fixes small bug by handling boundaries properly.
author
Tom Rondeau
<trondeau@vt.edu>
Thu, 15 Apr 2010 02:20:00 +0000
(22:20 -0400)
committer
Tom Rondeau
<trondeau@vt.edu>
Thu, 15 Apr 2010 02:20:00 +0000
(22:20 -0400)
gnuradio-core/src/lib/filter/gr_pfb_channelizer_ccf.cc
patch
|
blob
|
history
diff --git
a/gnuradio-core/src/lib/filter/gr_pfb_channelizer_ccf.cc
b/gnuradio-core/src/lib/filter/gr_pfb_channelizer_ccf.cc
index 824a78dd97d82376c604e8f8dd95724c4f003e0a..68f3db620b2855452cadf89b4be524b1e8260006 100644
(file)
--- a/
gnuradio-core/src/lib/filter/gr_pfb_channelizer_ccf.cc
+++ b/
gnuradio-core/src/lib/filter/gr_pfb_channelizer_ccf.cc
@@
-165,9
+165,9
@@
gr_pfb_channelizer_ccf::general_work (int noutput_items,
return 0; // history requirements may have changed.
}
- int n=
1
, i=-1, j=0, last;
+ int n=
0
, i=-1, j=0, last;
int toconsume = (int)rintf(noutput_items/d_oversample_rate);
- while(n <
=
toconsume) {
+ while(n < toconsume) {
j = 0;
i = (i + d_rate_ratio) % d_numchans;
last = i;