Changeset 4702 in ntrip for trunk


Ignore:
Timestamp:
Sep 9, 2012, 6:53:33 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/reqcanalyze.cpp

    r4701 r4702  
    433433  // Loop over all Chunks of Data
    434434  // ----------------------------
     435  bool slipFound = false;
    435436  for (int chunkStart = 0; chunkStart + numEpo < allObs._oneObsVec.size();
    436437       chunkStart += chunkStep) {
     438
     439    if (chunkStart == 0) {
     440      slipFound = false;
     441    }
    437442
    438443    // Chunk-Specific Variables
     
    570575        slipL1 = true;
    571576        slipL2 = true;
    572         _obsStat._prnStat[prn]._numSlipsFound += 1;
     577        if (!slipFound) {
     578          slipFound = true;
     579          _obsStat._prnStat[prn]._numSlipsFound += 1;
     580        }
    573581      }
    574582      else {
Note: See TracChangeset for help on using the changeset viewer.