Changeset 3329 in ntrip for trunk/BNC/combination


Ignore:
Timestamp:
Jul 17, 2011, 12:14:26 PM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/combination
Files:
2 edited

Legend:

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

    r3299 r3329  
    180180  // -------------------
    181181  _firstReg = false;
     182
     183  // Maximal Residuum
     184  // ----------------
     185  _MAXRES = settings.value("cmbMaxres").toDouble();
     186  if (_MAXRES <= 0.0) {
     187    _MAXRES = 999.0;
     188  }
    182189}
    183190
     
    493500    }
    494501
    495     const double MAXRES = 999.10;  // TODO: make it an option
    496 
    497502    ColumnVector dx;
    498503    SymmetricMatrix QQ_sav = _QQ;
     
    508513      out << "Maximum Residuum " << maxRes << " (index " << maxResIndex << ")\n";
    509514
    510       if (maxRes > MAXRES) {
     515      if (maxRes > _MAXRES) {
    511516        out << "Outlier Detected" << endl;
    512517        _QQ = QQ_sav;
  • trunk/BNC/combination/bnccomb.h

    r3299 r3329  
    8787  QString               _masterAC;
    8888  bncAntex*             _antex;
     89  double                _MAXRES;
    8990};
    9091
Note: See TracChangeset for help on using the changeset viewer.