Changeset 9280 in ntrip for trunk


Ignore:
Timestamp:
Nov 25, 2020, 10:00:27 PM (4 years ago)
Author:
stuerze
Message:

small bug fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP_SSR_I/pppFilter.cpp

    r9083 r9280  
    410410  xyz2ell(xyz, ell);
    411411  double height = ell[2];
     412  // Prevent pp from causing segmentation fault (Loukis)
     413  if (height > 40000.0 ) {
     414    return 0.000000001;
     415  }
    412416
    413417  double pp =  1013.25 * pow(1.0 - 2.26e-5 * height, 5.225);
Note: See TracChangeset for help on using the changeset viewer.