- Timestamp:
- Aug 15, 2018, 10:03:49 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/PPP/pppClient.cpp
r8452 r8454 244 244 ColumnVector rr = satObs->xc().Rows(1,3) - xyzc.Rows(1,3); 245 245 double res = rr.norm_Frobenius() - satObs->obsValue(tLC) 246 - (satObs->xc()[3] - xyzc[3]) * t_CST::c; 247 if (fabs(res) > maxRes || std::isnan(res)) { 246 - (satObs->xc()[3] - xyzc[3]) * t_CST::c; 247 if (std::isnan(res) || fabs(res) > maxRes) { 248 std::isnan(res) ? 249 maxRes = res : 248 250 maxRes = fabs(res); 249 251 maxResIndex = ii; … … 251 253 } 252 254 } 253 if ( maxRes < BLUNDER) {255 if (!std::isnan(maxRes) && maxRes < BLUNDER) { 254 256 if (print) { 255 257 LOG.setf(ios::fixed);
Note:
See TracChangeset
for help on using the changeset viewer.