Changeset 6360 in ntrip


Ignore:
Timestamp:
Dec 1, 2014, 11:50:33 AM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/orbComp
Files:
2 edited

Legend:

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

    r6359 r6360  
    138138// Estimate Clock Offsets
    139139////////////////////////////////////////////////////////////////////////////////
    140 void t_sp3Comp::processClocks(const set<t_prn>& clkSats, vector<t_epoch*>& epochs,
     140void t_sp3Comp::processClocks(const set<t_prn>& clkSats, const vector<t_epoch*>& epochsIn,
    141141                              map<string, t_stat>& stat) const {
    142142
    143143  if (clkSats.size() == 0) {
     144    return;
     145  }
     146
     147  vector<t_epoch*> epochs;
     148  for (unsigned ii = 0; ii < epochsIn.size(); ii++) {
     149    if (epochsIn[ii]->_dc.size() > 0) {
     150      epochs.push_back(epochsIn[ii]);
     151    }
     152  }
     153  if (epochs.size() == 0) {
    144154    return;
    145155  }
  • trunk/BNC/src/orbComp/sp3Comp.h

    r6356 r6360  
    8282
    8383  int  satIndex(const std::set<t_prn>& clkSats, const t_prn& prn) const;
    84   void processClocks(const std::set<t_prn>& clkSats, std::vector<t_epoch*>& epochs,
     84  void processClocks(const std::set<t_prn>& clkSats, const std::vector<t_epoch*>& epochsIn,
    8585                     std::map<std::string, t_stat>& stat) const;
    8686  void compare(std::ostringstream& out) const;
Note: See TracChangeset for help on using the changeset viewer.