commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r7588 - gnuradio/branches/developers/gnychis/matched_f


From: gnychis
Subject: [Commit-gnuradio] r7588 - gnuradio/branches/developers/gnychis/matched_filter/gnuradio-core/src/lib/filter
Date: Wed, 6 Feb 2008 11:06:20 -0700 (MST)

Author: gnychis
Date: 2008-02-06 11:06:20 -0700 (Wed, 06 Feb 2008)
New Revision: 7588

Modified:
   
gnuradio/branches/developers/gnychis/matched_filter/gnuradio-core/src/lib/filter/gr_matched_filter_ccc.cc
Log:
Need to take in to consideration the additional history() worth of items in the
input


Modified: 
gnuradio/branches/developers/gnychis/matched_filter/gnuradio-core/src/lib/filter/gr_matched_filter_ccc.cc
===================================================================
--- 
gnuradio/branches/developers/gnychis/matched_filter/gnuradio-core/src/lib/filter/gr_matched_filter_ccc.cc
   2008-02-06 15:54:54 UTC (rev 7587)
+++ 
gnuradio/branches/developers/gnychis/matched_filter/gnuradio-core/src/lib/filter/gr_matched_filter_ccc.cc
   2008-02-06 18:06:20 UTC (rev 7588)
@@ -109,7 +109,7 @@
   
   // Split the incoming real and imag
   std::vector<float> in_real, in_imag;
-  split_complex(in, noutput_items, in_real, in_imag);
+  split_complex(in, noutput_items+history(), in_real, in_imag);
 
   // Perform the dot product on each component separately
   std::vector<float> out_real(noutput_items);





reply via email to

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