1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 04:00:34 +00:00

Fix guard

This commit is contained in:
Carles Fernandez 2019-07-25 21:37:57 +02:00
parent 2b8e5140e5
commit b4f3720ff1
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -76,7 +76,7 @@ void Exponential_Smoother::set_samples_for_initialization(int num_samples)
{
ns = 1;
}
samples_for_initialization_ = num_samples;
samples_for_initialization_ = ns;
init_buffer_.reserve(samples_for_initialization_);
}