Changeset 5787 in ntrip for trunk/BNC/src


Ignore:
Timestamp:
Aug 4, 2014, 2:57:14 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppClient.cpp

    r5786 r5787  
    161161  epoTime.reset();
    162162
    163   if (pppSatObs.size() == 0) {
    164     return success;
    165   }
    166 
    167163  // Create vector of valid observations
    168164  // -----------------------------------
     
    202198    }
    203199  }
    204   epoTime += meanDt / obsVector.size();
     200
     201  if (obsVector.size() > 0) {
     202    epoTime += meanDt / obsVector.size();
     203  }
    205204
    206205  return success;
Note: See TracChangeset for help on using the changeset viewer.