From d05e734101a48c88ff036aa64655c2cb677224bd Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Wed, 18 Feb 2015 01:13:56 +0100 Subject: [PATCH] fixing bug in obs data format (version 2.11) --- src/algorithms/PVT/libs/rinex_printer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms/PVT/libs/rinex_printer.cc b/src/algorithms/PVT/libs/rinex_printer.cc index e9553e4f0..b6ff5323c 100644 --- a/src/algorithms/PVT/libs/rinex_printer.cc +++ b/src/algorithms/PVT/libs/rinex_printer.cc @@ -2147,7 +2147,7 @@ void Rinex_Printer::log_rinex_obs(std::ofstream& out, const Gps_Ephemeris& eph, { line += std::string(1, ' '); } - line += Rinex_Printer::asString(fmod(gps_t, 60), 7); + line += Rinex_Printer::asString(second_, 7); line += std::string(2, ' '); // Epoch flag 0: OK 1: power failure between previous and current epoch <1: Special event line += std::string(1, '0');