Changeset 7814 in ntrip for trunk/BNC


Ignore:
Timestamp:
Feb 24, 2016, 3:05:09 PM (8 years ago)
Author:
stuerze
Message:

minor changes to prevent nan values in bancroft solution

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppClient.cpp

    r7551 r7814  
    236236        double res = rr.norm_Frobenius() - satObs->obsValue(tLC)
    237237          - (satObs->xc()[3] - xyzc[3]) * t_CST::c;
    238         if (fabs(res) > maxRes) {
     238        if (fabs(res) > maxRes || isnan(res)) {
    239239          maxRes      = fabs(res);
    240240          maxResIndex = ii;
Note: See TracChangeset for help on using the changeset viewer.