mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-16 12:12:57 +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
|
// account for the possibility of non-scientific
|
||||||
// notation (more than one digit to the left of the
|
// notation (more than one digit to the left of the
|
||||||
// decimal)
|
// decimal)
|
||||||
if (idx > startPos)
|
if ((idx > startPos) && (idx >= 1))
|
||||||
{
|
{
|
||||||
redoexp = true;
|
redoexp = true;
|
||||||
// Swap digit and decimal.
|
// Swap digit and decimal.
|
||||||
|
Loading…
Reference in New Issue
Block a user