1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-12 19:20:32 +00:00

Bug fix in both interleaved byte and short to complex converters

This commit is contained in:
Javier Arribas 2016-01-19 18:15:48 +01:00
parent 0215748638
commit 3add3a7f91
2 changed files with 2 additions and 2 deletions

View File

@ -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++;

View File

@ -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++;