Changeset 7852 in ntrip


Ignore:
Timestamp:
Apr 1, 2016, 2:52:31 PM (8 years ago)
Author:
stuerze
Message:

some additions to prevent crash in PPP mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP_SSR_I/pppFilter.cpp

    r7573 r7852  
    295295  bancroft(BB, _xcBanc);
    296296
     297  if (isnan(_xcBanc(1)) ||
     298      isnan(_xcBanc(2)) ||
     299      isnan(_xcBanc(3))) {
     300    return failure;
     301  }
     302
    297303  // Ellipsoidal Coordinates
    298304  // ------------------------
     
    10661072      }
    10671073
     1074      if (!nObs) {
     1075        restoreState(epoData);
     1076        return failure;
     1077      }
     1078
    10681079      // Prepare first-design Matrix, vector observed-computed
    10691080      // -----------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.