Changeset 9261 in ntrip


Ignore:
Timestamp:
Nov 18, 2020, 10:05:19 AM (3 years ago)
Author:
stuerze
Message:

minor changes

Location:
branches/BNC_2.12/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/bncephuser.cpp

    r9249 r9261  
    314314    }
    315315
    316     if (diff < MAXDIFF && diffC < MAXDIFF) {
     316    if (diff < MAXDIFF || diffC < MAXDIFF) {
    317317      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) {
    320319          // to prevent the same data sets with different TOC values
    321320          eph->setCheckState(t_eph::bad);
  • branches/BNC_2.12/src/combination/bnccomb.cpp

    r9180 r9261  
    479479  ColumnVector dV = newVV           - oldVV;
    480480  double       dC = newXC(4)        - oldXC(4);
     481
     482  // small check
     483  // -----------
     484  const double MAXDIFF = 1000.0;
     485  double diff  = dX.norm_Frobenius();
     486  double diffC = dC * t_CST::c ;
     487  if (diff  > MAXDIFF ||
     488      diffC > MAXDIFF) {
     489    return;
     490  }
    481491
    482492  ColumnVector dRAO(3);
Note: See TracChangeset for help on using the changeset viewer.