Ignore:
Timestamp:
May 13, 2016, 3:05:57 PM (9 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/PPP/pppClient.cpp

    r7866 r7905  
    282282      unsigned nObs        = 0;
    283283      for (unsigned ii = 0; ii < obsVector.size(); ii++) {
    284         t_pppSatObs* satObs = obsVector.at(ii);
     284        const t_pppSatObs* satObs = obsVector.at(ii);
    285285        if (satObs->prn().system() == 'R') {
    286286          if (tLC == t_lc::dummy) {
     
    309309      if (fabs(maxRes) > 1000.0) {
    310310        LOG << "t_pppClient::cmpOffGG outlier " << maxResPrn.toString() << " " << maxRes << endl;
     311        delete obsVector.at(maxResIndex);
    311312        obsVector.erase(obsVector.begin() + maxResIndex);
    312313      }
     
    450451
    451452    _offGG = cmpOffGG(_obsRover);
     453
     454    if (int(_obsRover.size()) < OPT->_minObs) {
     455      LOG << "t_pppClient::processEpoch not enough observations" << endl;
     456      return finish(failure);
     457    }
    452458
    453459    // Store last epoch of data
Note: See TracChangeset for help on using the changeset viewer.