From c2c1471ab4ed4da7a288bd92bc9e5eb9f0fd25ff Mon Sep 17 00:00:00 2001 From: csrichter Date: Tue, 9 May 2017 14:20:53 +0200 Subject: [PATCH] Revert "bugfix: when syncing only try every second input value" This reverts commit 878d2b5bc53a0a326eb2956d5a560ea6c5fabd7a. we are already skipping every second input, because i counts outputitems --- lib/sync_decim_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sync_decim_impl.cc b/lib/sync_decim_impl.cc index 91ea484..f7fc338 100644 --- a/lib/sync_decim_impl.cc +++ b/lib/sync_decim_impl.cc @@ -134,7 +134,7 @@ namespace gr { int skip_is_better_counter=0; if (noutput_items>8)//TODO: what if there are never more than 9 outputs requested { - for (int i = 0; i < noutput_items; i+=2) { + for (int i = 0; i < noutput_items; i++) { if(i==0){ out_skip=last_input-in[DECIM*i];} else{