Nevermind that last checkin. THIS is the right answer that doesn't have us possibly...
authorTom Rondeau <trondeau@vt.edu>
Thu, 15 Apr 2010 04:32:14 +0000 (00:32 -0400)
committerTom Rondeau <trondeau@vt.edu>
Thu, 15 Apr 2010 04:32:14 +0000 (00:32 -0400)
gnuradio-core/src/lib/filter/gr_pfb_channelizer_ccf.cc

index 68f3db620b2855452cadf89b4be524b1e8260006..5fda47880f5cea77a62c54806f6bdd1c0a654468 100644 (file)
@@ -132,7 +132,7 @@ gr_pfb_channelizer_ccf::set_taps (const std::vector<float> &taps)
   }
 
   // Set the history to ensure enough input items for each filter
-  set_history (d_taps_per_filter);
+  set_history (d_taps_per_filter+1);
 
   d_updated = true;
 }
@@ -165,9 +165,9 @@ gr_pfb_channelizer_ccf::general_work (int noutput_items,
     return 0;               // history requirements may have changed.
   }
 
-  int n=0, i=-1, j=0, last;
+  int n=1, 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;