Changeset 1923 in ntrip for trunk


Ignore:
Timestamp:
Nov 11, 2009, 3:57:51 PM (15 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bnseph.cpp

    r1902 r1923  
    698698int t_ephGlo::IOD() const {
    699699
    700   bool old = true;
     700  bool old = false;
    701701
    702702  if (old) { // 5 LSBs of iod are equal to 5 LSBs of tb
     
    706706    return (iod >> shift);
    707707  }
    708   else     {  // 7 LSBs of iod are equal to 7 LSBs of tk
    709     unsigned tk = int(_tki);
    710     const int shift = sizeof(tk) * 8 - 7;
    711     unsigned int iod = tk << shift;
    712     return (iod >> shift);
    713   }
    714 }
     708  else     { 
     709    return int(fmod(_tki, 3600)) / 30;
     710  }
     711}
Note: See TracChangeset for help on using the changeset viewer.