Changeset 9684 in ntrip


Ignore:
Timestamp:
Apr 8, 2022, 10:13:45 PM (2 years ago)
Author:
stuerze
Message:

minor changes

Location:
trunk/BNC/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncbiassinex.cpp

    r9681 r9684  
    7070           << timeStrEnd.toLatin1().data()
    7171           << " ns   "
    72            << setw(21) << setprecision(4) << (bias / t_CST::c) * 1.e9
     72           << setw(21) << setprecision(4) << (bias * 1.e9 / t_CST::c)
    7373           << endl;
    7474
  • trunk/BNC/src/combination/bncbiassnx.cpp

    r9680 r9684  
    148148      // -------------------------
    149149      if (unit.contains("ns")) {
    150         value /= 1.e9;   // from nano seconds into seconds and
    151         value *= t_CST::c; // from seconds into meters
     150        // from nano seconds into meters
     151        value *= t_CST::c;
     152        value /= 1.e9;
    152153      }
    153154
Note: See TracChangeset for help on using the changeset viewer.