mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-09-01 18:38:00 +00:00
Bug fix in both interleaved byte and short to complex converters
This commit is contained in:
@@ -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++;
|
||||
|
@@ -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++;
|
||||
|
Reference in New Issue
Block a user