Changeset 10492 in ntrip for trunk/BNC/src/combination


Ignore:
Timestamp:
May 21, 2024, 5:15:27 PM (4 months ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/combination/bnccomb.cpp

    r10490 r10492  
    958958                                   QMap<QString, cmbCorr*>& resCorr,
    959959                                   ColumnVector& dx) {
    960 
     960  int facSys = 1;
     961  if (sys == 'C') {facSys *= 2;}
     962  if (sys == 'R') {facSys *= 2;}
    961963  // Prediction Step
    962964  // ---------------
     
    10081010        << " Maximum Residuum " << maxRes << ' '
    10091011        << corrs(sys)[maxResIndex-1]->_acName << ' ' << corrs(sys)[maxResIndex-1]->_prn.mid(0,3);
    1010     if (maxRes > _MAX_RES) {
     1012    if (maxRes > (_MAX_RES * facSys)) {
    10111013      for (int iPar = 1; iPar <= _params[sys].size(); iPar++) {
    10121014        cmbParam* pp = _params[sys][iPar-1];
     
    15341536    // ---------------
    15351537    bool removed = false;
     1538    int facSys = 1;
     1539    if (sys == 'C') {facSys *= 2;}
     1540    if (sys == 'R') {facSys *= 2;}
    15361541    QMutableVectorIterator<cmbCorr*> im(corrs(sys));
    15371542    while (im.hasNext()) {
     
    15441549      else if (corr == maxDiff[prn]) {
    15451550        double norm = corr->_diffRao.NormFrobenius();
    1546         if (norm > _MAX_DISPLACEMENT) {
     1551        if (norm > (_MAX_DISPLACEMENT * facSys)) {
    15471552          out << epoTime.datestr().c_str()    << " "
    15481553              << epoTime.timestr().c_str()    << " "
Note: See TracChangeset for help on using the changeset viewer.