commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r10789 - gnuradio/trunk/gnuradio-core/src/lib/runtime


From: eb
Subject: [Commit-gnuradio] r10789 - gnuradio/trunk/gnuradio-core/src/lib/runtime
Date: Tue, 7 Apr 2009 13:53:18 -0600 (MDT)

Author: eb
Date: 2009-04-07 13:53:17 -0600 (Tue, 07 Apr 2009)
New Revision: 10789

Modified:
   gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_block.cc
Log:
Fix for ticket:262.


Modified: gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_block.cc
===================================================================
--- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_block.cc    2009-04-07 
19:46:14 UTC (rev 10788)
+++ gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_block.cc    2009-04-07 
19:53:17 UTC (rev 10789)
@@ -51,7 +51,7 @@
 {
   unsigned ninputs = ninput_items_required.size ();
   for (unsigned i = 0; i < ninputs; i++)
-    ninput_items_required[i] = noutput_items;
+    ninput_items_required[i] = noutput_items + history() - 1;
 }
 
 // default implementation





reply via email to

[Prev in Thread] Current Thread [Next in Thread]