Changeset 8453 in ntrip
- Timestamp:
- Aug 15, 2018, 10:03:31 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppClient.cpp
r8451 r8453 254 254 ColumnVector rr = satObs->xc().Rows(1,3) - xyzc.Rows(1,3); 255 255 double res = rr.norm_Frobenius() - satObs->obsValue(tLC) 256 - (satObs->xc()[3] - xyzc[3]) * t_CST::c; 257 if (fabs(res) > maxRes || std::isnan(res)) { 256 - (satObs->xc()[3] - xyzc[3]) * t_CST::c; 257 if (std::isnan(res) || fabs(res) > maxRes) { 258 std::isnan(res) ? 259 maxRes = res : 258 260 maxRes = fabs(res); 259 261 maxResIndex = ii; … … 261 263 } 262 264 } 263 if ( maxRes < BLUNDER) {265 if (!std::isnan(maxRes) && maxRes < BLUNDER) { 264 266 if (print) { 265 267 LOG.setf(ios::fixed);
Note:
See TracChangeset
for help on using the changeset viewer.