Permalink
Browse files

fix for general work on block.h, the results of forecast dont automat…

…ically make it in
  • Loading branch information...
1 parent 122fbb0 commit 3bda241c8a8cb106c3d66302969b644bd3c21b66 @guruofquality committed Jul 16, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/block.cc
View
@@ -235,7 +235,10 @@ class master_block : public gr_block
for (size_t i = 0; i < _input_items.size(); i++)
{
_input_items[i]._mem = input_items[i];
- _input_items[i]._len = ninput_items[i];
+ if (_automatic)
+ _input_items[i]._len = fixed_rate_noutput_to_ninput(noutput_items);
+ else
+ _input_items[i]._len = ninput_items[i];
}
for (size_t i = 0; i < _output_items.size(); i++)
{

0 comments on commit 3bda241

Please sign in to comment.