Changeset 6426 in ntrip


Ignore:
Timestamp:
Dec 24, 2014, 5:03:48 PM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r6425 r6426  
    301301  // Estimate Clock Offsets
    302302  // ----------------------
    303   string systems = "GR";
     303  string systems;
     304  for (set<t_prn>::const_iterator it = clkSatsAll.begin(); it != clkSatsAll.end(); it++) {
     305    if (systems.find(it->system()) == string::npos) {
     306      systems += it->system();
     307    }
     308  }
    304309  for (unsigned iSys = 0; iSys < systems.size(); iSys++) {
    305310    char system = systems[iSys];
    306311    set<t_prn> clkSats;
    307     set<t_prn>::const_iterator it;
    308     for (it = clkSatsAll.begin(); it != clkSatsAll.end(); it++) {
     312    for (set<t_prn>::const_iterator it = clkSatsAll.begin(); it != clkSatsAll.end(); it++) {
    309313      if (it->system() == system) {
    310314        clkSats.insert(*it);
Note: See TracChangeset for help on using the changeset viewer.