Changeset 9260 in ntrip for trunk/BNC/src
- Timestamp:
- Nov 18, 2020, 10:03:51 AM (4 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncephuser.cpp
r9245 r9260 314 314 } 315 315 316 if (diff < MAXDIFF &&diffC < MAXDIFF) {316 if (diff < MAXDIFF || diffC < MAXDIFF) { 317 317 if (dt != 0.0) { 318 if (diff < MINDIFF && diffC < MINDIFF && 319 ephL->checkState() == t_eph::ok) { 318 if (diff < MINDIFF && diffC < MINDIFF && ephL->checkState() == t_eph::ok) { 320 319 // to prevent the same data sets with different TOC values 321 320 eph->setCheckState(t_eph::bad); -
trunk/BNC/src/combination/bnccomb.cpp
r9259 r9260 470 470 ColumnVector dV = newVV - oldVV; 471 471 double dC = newXC(4) - oldXC(4); 472 473 // small check 474 // ----------- 475 const double MAXDIFF = 1000.0; 476 double diff = dX.NormFrobenius(); 477 double diffC = dC * t_CST::c ; 478 if (diff > MAXDIFF || 479 diffC > MAXDIFF) { 480 return; 481 } 472 482 473 483 ColumnVector dRAO(3);
Note:
See TracChangeset
for help on using the changeset viewer.