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:
parent
ceff78fbdd
commit
485c610f22
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user