From a0f10218fd7010f02879a7cee7ab7d0f0545baf4 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Mon, 22 Feb 2021 20:13:46 +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 a8698ed43..e9c7ba279 100644 --- a/src/core/system_parameters/gnss_ephemeris.cc +++ b/src/core/system_parameters/gnss_ephemeris.cc @@ -184,7 +184,7 @@ double Gnss_Ephemeris::sv_clock_relativistic_term(double transmitTime) const { n0 = sqrt(GALILEO_GM / (a * a * a)); } - if (this->System == 'E') + else if (this->System == 'E') { n0 = sqrt(BEIDOU_GM / (a * a * a)); }