Changeset 9600 in ntrip for trunk/BNC/src/PPP/pppSatObs.cpp


Ignore:
Timestamp:
Jan 14, 2022, 5:31:00 PM (2 years ago)
Author:
stuerze
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppSatObs.cpp

    r9598 r9600  
    142142  bool totOK  = false;
    143143  ColumnVector satPosOld(6); satPosOld = 0.0;
    144   t_lc::type tLC = isValid(t_lc::cIF) ? t_lc::cIF : t_lc::c1;
     144  t_lc::type tLC = t_lc::dummy;
     145  if (isValid(t_lc::cIF)) {
     146    tLC = t_lc::cIF;
     147  }
     148  if (tLC == t_lc::dummy && isValid(t_lc::c1)) {
     149      tLC = t_lc::c1;
     150  }
     151  if (tLC == t_lc::dummy && isValid(t_lc::c2)) {
     152      tLC = t_lc::c2;
     153  }
     154  if (tLC == t_lc::dummy) {
     155    _valid = false;
     156    return;
     157  }
    145158  double prange = obsValue(tLC);
    146159  for (int ii = 1; ii <= 10; ii++) {
Note: See TracChangeset for help on using the changeset viewer.