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); _______________________________________________ Commit-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/commit-gnuradio
