Changeset 8417 in ntrip for trunk/BNC/src/bncutils.cpp
- Timestamp:
- Jul 13, 2018, 1:14:18 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncutils.cpp
r8203 r8417 251 251 bool checkForWrongObsEpoch(bncTime obsEpoch) { 252 252 const double maxDt = 600.0; 253 long iSec = long(floor(obsEpoch.gpssec()+0.5)); 254 long obsTime = obsEpoch.gpsw()*7*24*3600 + iSec; 253 bncTime obsTime = obsEpoch; 255 254 int week; 256 255 double sec; 257 256 currentGPSWeeks(week, sec); 258 long currTime = week * 7*24*3600 + long(sec);257 bncTime currTime(week, sec); 259 258 260 259 if (fabs(currTime - obsTime) > maxDt) { … … 575 574 const ColumnVector& yi, // vector of the initial y-values 576 575 double dx, // the step size for the integration 577 double* acc, // ad itional acceleration576 double* acc, // additional acceleration 578 577 ColumnVector (*der)(double x, const ColumnVector& y, double* acc) 579 578 // A pointer to a function that computes the
Note:
See TracChangeset
for help on using the changeset viewer.