diff --git a/src/algorithms/PVT/libs/ls_pvt.cc b/src/algorithms/PVT/libs/ls_pvt.cc index 1c92d4def..159c2a570 100644 --- a/src/algorithms/PVT/libs/ls_pvt.cc +++ b/src/algorithms/PVT/libs/ls_pvt.cc @@ -121,12 +121,13 @@ arma::vec Ls_Pvt::leastSquarePos(const arma::mat & satpos, const arma::vec & obs { //receiver is above the troposphere trop = 0.0; - }else{ + } + else + { //--- Find delay due to troposphere (in meters) Ls_Pvt::tropo(&trop, sin(d_visible_satellites_El[i] * GPS_PI / 180.0), h / 1000.0, 1013.0, 293.0, 50.0, 0.0, 0.0, 0.0); if(trop > 5.0 ) trop = 0.0; //check for erratic values } - } } //--- Apply the corrections ----------------------------------------