Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions core/lib/NewNav/RinexNavDataFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ namespace gnsstk
}
if (check)
{
if (processEph)
if (processEph && (eph != nullptr))
{
if (eph->validate() == expect)
{
Expand Down Expand Up @@ -267,7 +267,7 @@ namespace gnsstk
}
else
{
if (processEph)
if (processEph && (eph != nullptr))
{
if (!cb.process(eph))
return false;
Expand Down Expand Up @@ -585,6 +585,10 @@ namespace gnsstk
//glo->step is algorithm configuration
glo->fixFit();
break;
case SatelliteSystem::Geosync:
case SatelliteSystem::IRNSS:
// These GNSSes are not supported but are expected, so do not fail
break;
default:
/// @todo add other GNSSes
rv = false;
Expand Down Expand Up @@ -693,6 +697,10 @@ namespace gnsstk
glo->healthBits = navIn.health << 2;
healthOut.push_back(health);
break;
case SatelliteSystem::Geosync:
case SatelliteSystem::IRNSS:
// These GNSSes are not supported but are expected, so do not fail
break;
default:
/// @todo add other GNSSes
rv = false;
Expand Down