Changeset 8318 in ntrip


Ignore:
Timestamp:
Mar 29, 2018, 10:23:12 AM (4 months ago)
Author:
stuerze
Message:

small bug fixed in ephemeris check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/bncephuser.cpp

    r8216 r8318  
    153153
    154154  const t_eph* ephOld = ephLast(prn);
    155 
    156   if (ephOld &&
    157       (ephOld->checkState() == t_eph::bad ||
    158        ephOld->checkState() == t_eph::outdated)) {
    159     ephOld = 0;
    160   }
    161155
    162156  if ((ephOld == 0 || newEph->isNewerThan(ephOld)) &&
     
    205199  const double MINDIST = 2.e7;
    206200  const double MAXDIST = 6.e7;
    207   if (rr < MINDIST || rr > MAXDIST || isnan(rr)) {
     201  if (rr < MINDIST || rr > MAXDIST || std::isnan(rr)) {
    208202    eph->setCheckState(t_eph::bad);
    209203    return;
Note: See TracChangeset for help on using the changeset viewer.