Changeset 9852 in ntrip for trunk/BNC/src/bncephuser.cpp


Ignore:
Timestamp:
Oct 18, 2022, 11:49:10 AM (14 months ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncephuser.cpp

    r9773 r9852  
    242242    ColumnVector xcL(6);
    243243    ColumnVector vvL(3);
    244     ephL->getCrd(eph->TOC(), xcL, vvL, false);
     244    if (ephL->getCrd(eph->TOC(), xcL, vvL, false) != success) {
     245      eph->setCheckState(t_eph::bad);
     246      return;
     247    }
    245248
    246249    double diff  = (xc.Rows(1,3) - xcL.Rows(1,3)).NormFrobenius();
    247250    double diffC = fabs(xc(4) - xcL(4)) * t_CST::c;
    248251
    249     if (diff < MAXDIFF && diffC < MAXDIFF) {
    250       if (diff < MINDIFF && diffC < MINDIFF &&
     252    if (diff  < MAXDIFF &&
     253        diffC < MAXDIFF) {
     254      if (diff  < MINDIFF &&
     255          diffC < MINDIFF &&
    251256          ephL->checkState() == t_eph::ok) {
    252257        // to prevent the same data sets with different TOC values
Note: See TracChangeset for help on using the changeset viewer.