From 619c9f1f984d036c9d9f116ae326878e14492250 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sun, 23 Apr 2017 01:34:18 +0200 Subject: [PATCH] Add more code cleaning --- src/algorithms/libs/rtklib/rtklib_pntpos.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms/libs/rtklib/rtklib_pntpos.cc b/src/algorithms/libs/rtklib/rtklib_pntpos.cc index 6981dcf4a..92086497c 100644 --- a/src/algorithms/libs/rtklib/rtklib_pntpos.cc +++ b/src/algorithms/libs/rtklib/rtklib_pntpos.cc @@ -95,7 +95,7 @@ double prange(const obsd_t *obs, const nav_t *nav, const double *azel, /* L1-L2 for GPS/GLO/QZS, L1-L5 for GAL/SBS */ - if (NFREQ>=3&&(sys&(SYS_GAL|SYS_SBS))) j = 2; + if (NFREQ >= 3 && (sys & (SYS_GAL | SYS_SBS))) j = 2; if (NFREQ<2 || lam[i] == 0.0 || lam[j] == 0.0) {