- Timestamp:
- Aug 7, 2014, 2:06:50 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppClient.cpp
r5857 r5858 285 285 double maxRes = 0.0; 286 286 int maxResIndex = -1; 287 t_prn maxResPrn; 287 288 unsigned nObs = 0; 288 289 for (unsigned ii = 0; ii < obsVector.size(); ii++) { … … 293 294 ++nObs; 294 295 offGG += ll; 295 if (fabs(ll) > maxRes) {296 maxRes = fabs(ll);296 if (fabs(ll) > fabs(maxRes)) { 297 maxRes = ll; 297 298 maxResIndex = ii; 299 maxResPrn = satObs->prn(); 298 300 } 299 301 } … … 307 309 } 308 310 309 if (maxRes > 1000.0) { 311 if (fabs(maxRes) > 1000.0) { 312 LOG << "t_pppClient::cmpOffGG outlier " << maxResPrn.toString() << " " << maxRes << endl; 310 313 obsVector.erase(obsVector.begin() + maxResIndex); 311 314 }
Note:
See TracChangeset
for help on using the changeset viewer.