1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2026-04-21 14:21:26 +00:00

Merge branch 'fix-clang-tidy' of https://github.com/MathieuFavreau/gnss-sdr into MathieuFavreau-fix-clang-tidy

This commit is contained in:
Carles Fernandez
2026-02-04 20:34:59 +01:00

View File

@@ -136,7 +136,7 @@ void gps_l2c_m_code_gen_complex_sampled(
for (int32_t i = 0; i < nSamples; i++)
{
int32_t slotIndex =
auto slotIndex =
static_cast<int32_t>(std::floor(ts * static_cast<float>(i) / tc_used));
// Avoid rounding overflow at last sample