1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-07-03 02:13:16 +00:00

fix that makes pass the test

This commit is contained in:
Carles Fernandez 2016-01-16 14:29:15 +01:00
parent dab4da064c
commit a817d49e89

View File

@ -90,7 +90,7 @@ static inline void volk_gnsssdr_32fc_convert_8ic_u_sse2(lv_8sc_t* outputVector,
outputVectorPtr += 16; outputVectorPtr += 16;
} }
for(unsigned int i = 0; i < (num_points%4)*4; i++) for(unsigned int i = 0; i < (num_points%8)*2; i++)
{ {
if(inputVectorPtr[i] > max_val) if(inputVectorPtr[i] > max_val)
inputVectorPtr[i] = max_val; inputVectorPtr[i] = max_val;
@ -183,7 +183,7 @@ static inline void volk_gnsssdr_32fc_convert_8ic_a_sse2(lv_8sc_t* outputVector,
outputVectorPtr += 16; outputVectorPtr += 16;
} }
for(unsigned int i = 0; i < (num_points%4)*4; i++) for(unsigned int i = 0; i < (num_points%8)*2; i++)
{ {
if(inputVectorPtr[i] > max_val) if(inputVectorPtr[i] > max_val)
inputVectorPtr[i] = max_val; inputVectorPtr[i] = max_val;