From cc66a27740f1df546da3d2177731a1cde5825c93 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Mon, 22 Feb 2021 20:17:26 +0100 Subject: [PATCH] Fix ignored value --- src/core/system_parameters/gnss_ephemeris.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/system_parameters/gnss_ephemeris.cc b/src/core/system_parameters/gnss_ephemeris.cc index e9c7ba279..101fbf63c 100644 --- a/src/core/system_parameters/gnss_ephemeris.cc +++ b/src/core/system_parameters/gnss_ephemeris.cc @@ -225,7 +225,7 @@ double Gnss_Ephemeris::sv_clock_relativistic_term(double transmitTime) const { dtr_ = GALILEO_F * this->ecc * this->sqrtA * sek; } - if (this->System == 'B') + else if (this->System == 'B') { dtr_ = BEIDOU_F * this->ecc * this->sqrtA * sek; }