[hamradio-commits] [gnss-sdr] 236/303: Follow GNU coding style for braces
Carles Fernandez
carles_fernandez-guest at moszumanska.debian.org
Mon Feb 13 22:36:04 UTC 2017
This is an automated email from the git hooks/post-receive script.
carles_fernandez-guest pushed a commit to branch master
in repository gnss-sdr.
commit 939eac6daf5fb181ee687c1627fee38a7499b5be
Author: Carles Fernandez <carles.fernandez at gmail.com>
Date: Fri Jan 20 16:11:57 2017 +0100
Follow GNU coding style for braces
---
src/algorithms/PVT/libs/ls_pvt.cc | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/algorithms/PVT/libs/ls_pvt.cc b/src/algorithms/PVT/libs/ls_pvt.cc
index 1c92d4d..159c2a5 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 ----------------------------------------
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/gnss-sdr.git
More information about the pkg-hamradio-commits
mailing list