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:
parent
0215748638
commit
3add3a7f91
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user