Ignore:
Timestamp:
Nov 25, 2020, 10:03:12 PM (3 years ago)
Author:
stuerze
Message:

small bug fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/PPP_SSR_I/pppFilter.cpp

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