diff --git a/src/algorithms/data_type_adapter/gnuradio_blocks/interleaved_byte_to_complex_byte.cc b/src/algorithms/data_type_adapter/gnuradio_blocks/interleaved_byte_to_complex_byte.cc index 2b131a410..38a7380e6 100644 --- a/src/algorithms/data_type_adapter/gnuradio_blocks/interleaved_byte_to_complex_byte.cc +++ b/src/algorithms/data_type_adapter/gnuradio_blocks/interleaved_byte_to_complex_byte.cc @@ -60,7 +60,7 @@ int interleaved_byte_to_complex_byte::work(int noutput_items, // This could be put into a Volk kernel int8_t real_part; int8_t imag_part; - for(int number = 0; number < 2 * noutput_items; number++) + for(int number = 0; number < noutput_items; number++) { // lv_cmake(r, i) defined at volk/volk_complex.h real_part = *in++; diff --git a/src/algorithms/data_type_adapter/gnuradio_blocks/interleaved_short_to_complex_short.cc b/src/algorithms/data_type_adapter/gnuradio_blocks/interleaved_short_to_complex_short.cc index cc9f8a210..a6dc2798d 100644 --- a/src/algorithms/data_type_adapter/gnuradio_blocks/interleaved_short_to_complex_short.cc +++ b/src/algorithms/data_type_adapter/gnuradio_blocks/interleaved_short_to_complex_short.cc @@ -60,7 +60,7 @@ int interleaved_short_to_complex_short::work(int noutput_items, // This could be put into a Volk kernel int16_t real_part; int16_t imag_part; - for(int number = 0; number < 2 * noutput_items; number++) + for(int number = 0; number < noutput_items; number++) { // lv_cmake(r, i) defined at volk/volk_complex.h real_part = *in++;