From d81ff696b89a33ea1979e4bdccc82557c233e054 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Tue, 10 Nov 2020 13:16:25 +0100 Subject: [PATCH] Fix warning --- src/algorithms/PVT/adapters/rtklib_pvt.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms/PVT/adapters/rtklib_pvt.cc b/src/algorithms/PVT/adapters/rtklib_pvt.cc index f75536d2a..cb365fab5 100644 --- a/src/algorithms/PVT/adapters/rtklib_pvt.cc +++ b/src/algorithms/PVT/adapters/rtklib_pvt.cc @@ -468,7 +468,7 @@ Rtklib_Pvt::Rtklib_Pvt(const ConfigurationInterface* configuration, { num_bands = 2; } - if ((gal_1B_count > 0) && (gal_E6_count > 0) && (gal_E5a_count > 0) || (gal_E5b_count > 0)) + if ((gal_1B_count > 0) && (gal_E6_count > 0) && ((gal_E5a_count > 0) || (gal_E5b_count > 0))) { num_bands = 3; }