Ignore:
Timestamp:
Aug 9, 2018, 2:44:32 PM (6 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

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

    r8216 r8443  
    8282/////////////////////////////////////////////////////////////////////////////
    8383void t_pppEphPool::t_satEphPool::putOrbCorrection(t_orbCorr* corr) {
     84  if (_ephs.empty()) {
     85    return;
     86  }
     87
    8488  for (unsigned ii = 0; ii < _ephs.size(); ii++) {
    8589    t_eph* eph = _ephs[ii];
     
    9498/////////////////////////////////////////////////////////////////////////////
    9599void t_pppEphPool::t_satEphPool::putClkCorrection(t_clkCorr* corr) {
     100  if (_ephs.empty()) {
     101    return;
     102  }
     103
    96104  for (unsigned ii = 0; ii < _ephs.size(); ii++) {
    97105    t_eph* eph = _ephs[ii];
     
    107115t_irc t_pppEphPool::t_satEphPool::getCrd(const bncTime& tt, ColumnVector& xc,
    108116                                           ColumnVector& vv) const {
     117  if (_ephs.empty()) {
     118    return failure;
     119  }
     120
    109121  for (unsigned ii = 0; ii < _ephs.size(); ii++) {
    110122    t_eph* eph = _ephs[ii];
     
    126138/////////////////////////////////////////////////////////////////////////////
    127139int t_pppEphPool::t_satEphPool::getChannel() const {
    128   if (_ephs.size() > 0) {
     140  if (!_ephs.empty()) {
    129141    return _ephs[0]->slotNum();
    130142  }
Note: See TracChangeset for help on using the changeset viewer.