mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-03-04 10:38:17 +00:00
Make clang-tidy happy
This commit is contained in:
parent
5f1eea4d08
commit
777a987b5f
@ -873,7 +873,7 @@ int glonass_l1_ca_dll_pll_c_aid_tracking_cc::general_work(int noutput_items __at
|
|||||||
tmp_float = static_cast<float>(d_code_freq_chips);
|
tmp_float = static_cast<float>(d_code_freq_chips);
|
||||||
d_dump_file.write(reinterpret_cast<char *>(&tmp_float), sizeof(float));
|
d_dump_file.write(reinterpret_cast<char *>(&tmp_float), sizeof(float));
|
||||||
// PLL commands
|
// PLL commands
|
||||||
float aux = static_cast<float>(d_carr_phase_error_secs_Ti * CURRENT_INTEGRATION_TIME_S);
|
auto aux = static_cast<float>(d_carr_phase_error_secs_Ti * CURRENT_INTEGRATION_TIME_S);
|
||||||
if (std::fabs(aux) > std::numeric_limits<float>::epsilon())
|
if (std::fabs(aux) > std::numeric_limits<float>::epsilon())
|
||||||
{
|
{
|
||||||
tmp_float = 1.0 / aux;
|
tmp_float = 1.0 / aux;
|
||||||
|
@ -875,7 +875,7 @@ int glonass_l1_ca_dll_pll_c_aid_tracking_sc::general_work(int noutput_items __at
|
|||||||
tmp_float = static_cast<float>(d_code_freq_chips);
|
tmp_float = static_cast<float>(d_code_freq_chips);
|
||||||
d_dump_file.write(reinterpret_cast<char *>(&tmp_float), sizeof(float));
|
d_dump_file.write(reinterpret_cast<char *>(&tmp_float), sizeof(float));
|
||||||
// PLL commands
|
// PLL commands
|
||||||
float aux = static_cast<float>(d_carr_phase_error_secs_Ti * CURRENT_INTEGRATION_TIME_S);
|
auto aux = static_cast<float>(d_carr_phase_error_secs_Ti * CURRENT_INTEGRATION_TIME_S);
|
||||||
if (std::fabs(aux) > std::numeric_limits<float>::epsilon())
|
if (std::fabs(aux) > std::numeric_limits<float>::epsilon())
|
||||||
{
|
{
|
||||||
tmp_float = 1.0 / aux;
|
tmp_float = 1.0 / aux;
|
||||||
|
@ -868,7 +868,7 @@ int glonass_l2_ca_dll_pll_c_aid_tracking_cc::general_work(int noutput_items __at
|
|||||||
tmp_float = static_cast<float>(d_code_freq_chips);
|
tmp_float = static_cast<float>(d_code_freq_chips);
|
||||||
d_dump_file.write(reinterpret_cast<char *>(&tmp_float), sizeof(float));
|
d_dump_file.write(reinterpret_cast<char *>(&tmp_float), sizeof(float));
|
||||||
// PLL commands
|
// PLL commands
|
||||||
float aux = static_cast<float>(d_carr_phase_error_secs_Ti * CURRENT_INTEGRATION_TIME_S);
|
auto aux = static_cast<float>(d_carr_phase_error_secs_Ti * CURRENT_INTEGRATION_TIME_S);
|
||||||
if (std::fabs(aux) > std::numeric_limits<float>::epsilon())
|
if (std::fabs(aux) > std::numeric_limits<float>::epsilon())
|
||||||
{
|
{
|
||||||
tmp_float = 1.0 / aux;
|
tmp_float = 1.0 / aux;
|
||||||
|
@ -872,7 +872,7 @@ int glonass_l2_ca_dll_pll_c_aid_tracking_sc::general_work(int noutput_items __at
|
|||||||
tmp_float = static_cast<float>(d_code_freq_chips);
|
tmp_float = static_cast<float>(d_code_freq_chips);
|
||||||
d_dump_file.write(reinterpret_cast<char *>(&tmp_float), sizeof(float));
|
d_dump_file.write(reinterpret_cast<char *>(&tmp_float), sizeof(float));
|
||||||
// PLL commands
|
// PLL commands
|
||||||
float aux = static_cast<float>(d_carr_phase_error_secs_Ti * CURRENT_INTEGRATION_TIME_S);
|
auto aux = static_cast<float>(d_carr_phase_error_secs_Ti * CURRENT_INTEGRATION_TIME_S);
|
||||||
if (std::fabs(aux) > std::numeric_limits<float>::epsilon())
|
if (std::fabs(aux) > std::numeric_limits<float>::epsilon())
|
||||||
{
|
{
|
||||||
tmp_float = 1.0 / aux;
|
tmp_float = 1.0 / aux;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user