mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 12:10:34 +00:00
Fix guard
This commit is contained in:
parent
2b8e5140e5
commit
b4f3720ff1
@ -76,7 +76,7 @@ void Exponential_Smoother::set_samples_for_initialization(int num_samples)
|
|||||||
{
|
{
|
||||||
ns = 1;
|
ns = 1;
|
||||||
}
|
}
|
||||||
samples_for_initialization_ = num_samples;
|
samples_for_initialization_ = ns;
|
||||||
init_buffer_.reserve(samples_for_initialization_);
|
init_buffer_.reserve(samples_for_initialization_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user