1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 20:20:35 +00:00

Follow GNU coding style for braces

This commit is contained in:
Carles Fernandez 2017-01-20 16:11:57 +01:00
parent d14ef2b05c
commit 939eac6daf

View File

@ -121,12 +121,13 @@ arma::vec Ls_Pvt::leastSquarePos(const arma::mat & satpos, const arma::vec & obs
{ {
//receiver is above the troposphere //receiver is above the troposphere
trop = 0.0; trop = 0.0;
}else{ }
else
{
//--- Find delay due to troposphere (in meters) //--- 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); 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 if(trop > 5.0 ) trop = 0.0; //check for erratic values
} }
} }
} }
//--- Apply the corrections ---------------------------------------- //--- Apply the corrections ----------------------------------------