From a042c214a7ee58b6248f75b52673c242fb8ecc05 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Mon, 20 Jul 2026 20:02:52 +0200 Subject: [PATCH] Make clang-tidy happy --- src/core/system_parameters/galileo_utc_model.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/system_parameters/galileo_utc_model.cc b/src/core/system_parameters/galileo_utc_model.cc index e3e0a9b06..227eab953 100644 --- a/src/core/system_parameters/galileo_utc_model.cc +++ b/src/core/system_parameters/galileo_utc_model.cc @@ -40,7 +40,7 @@ double Galileo_Utc_Model::GST_to_UTC_time(double t_e, int32_t WN) const double Delta_t_Utc = 0; // Week roll-over handling of the truncated week numbers (OS SIS ICD 5.1.7: // the magnitude of the untruncated differences does not exceed 127 weeks) - const double weeks_since_t0t = static_cast(truncated_week_diff(WN, WNot, 256)); + const auto weeks_since_t0t = static_cast(truncated_week_diff(WN, WNot, 256)); // Determine if the effectivity time of the leap second event is in the past const int32_t weeksToLeapSecondEvent = truncated_week_diff(WN_LSF, WN, 256);