mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 04:30:33 +00:00
Initialize all members in the constructor
This commit is contained in:
parent
f52d46f608
commit
c945ddcacd
@ -136,6 +136,10 @@ pcps_acquisition::pcps_acquisition(
|
|||||||
{
|
{
|
||||||
d_data_buffer_sc = static_cast<lv_16sc_t*>(volk_gnsssdr_malloc(d_fft_size * sizeof(lv_16sc_t), volk_gnsssdr_get_alignment()));
|
d_data_buffer_sc = static_cast<lv_16sc_t*>(volk_gnsssdr_malloc(d_fft_size * sizeof(lv_16sc_t), volk_gnsssdr_get_alignment()));
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
d_data_buffer_sc = nullptr;
|
||||||
|
}
|
||||||
grid_ = arma::fmat();
|
grid_ = arma::fmat();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user