Changeset 4543 in ntrip
- Timestamp:
- Aug 21, 2012, 6:17:40 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/ephemeris.cpp
r4224 r4543 107 107 108 108 bncTime tt(GPSweek, GPSweeks); 109 double tk = tt - bncTime( _TOEweek, _TOEsec);109 double tk = tt - bncTime(int(_TOEweek), _TOEsec); 110 110 111 111 double n = n0 + _Delta_n; … … 401 401 if (hTime - currentTime > secPerDay/2.0) { 402 402 changed = true; 403 tow -= secPerDay;403 tow -= int(secPerDay); 404 404 if (tow < 0) { 405 tow += secPerWeek;405 tow += int(secPerWeek); 406 406 ww -= 1; 407 407 } … … 409 409 else if (hTime - currentTime < -secPerDay/2.0) { 410 410 changed = true; 411 tow += secPerDay;411 tow += int(secPerDay); 412 412 if (tow > secPerWeek) { 413 tow -= secPerWeek;413 tow -= int(secPerWeek); 414 414 ww += 1; 415 415 }
Note:
See TracChangeset
for help on using the changeset viewer.