Changeset 6517 in ntrip


Ignore:
Timestamp:
Dec 29, 2014, 7:41:28 PM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/orbComp/sp3Comp.cpp

    r6439 r6517  
    155155  vector<t_epoch*> epochs;
    156156  for (unsigned ii = 0; ii < epochsIn.size(); ii++) {
    157     if (epochsIn[ii]->_dc.size() > 0) {
     157    unsigned numSatOK = 0;
     158    std::map<t_prn, double>::const_iterator it;
     159    for (it = epochsIn[ii]->_dc.begin(); it != epochsIn[ii]->_dc.end(); it++) {
     160      if (satIndex(clkSats, it->first) != -1) {
     161        numSatOK += 1;
     162      }
     163    }
     164    if (numSatOK > 0) {
    158165      epochs.push_back(epochsIn[ii]);
    159166    }
Note: See TracChangeset for help on using the changeset viewer.