1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-16 04:05:46 +00:00

fixing error handling issue

This commit is contained in:
Carles Fernandez 2015-05-23 09:32:08 +02:00
parent ceff78fbdd
commit 485c610f22

View File

@ -526,7 +526,7 @@ inline std::string& Rinex_Printer::sci2for(std::string& aStr,
// account for the possibility of non-scientific
// notation (more than one digit to the left of the
// decimal)
if (idx > startPos)
if ((idx > startPos) && (idx >= 1))
{
redoexp = true;
// Swap digit and decimal.