Changeset 3329 in ntrip
- Timestamp:
- Jul 17, 2011, 12:14:26 PM (13 years ago)
- Location:
- trunk/BNC/combination
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.cpp
r3299 r3329 180 180 // ------------------- 181 181 _firstReg = false; 182 183 // Maximal Residuum 184 // ---------------- 185 _MAXRES = settings.value("cmbMaxres").toDouble(); 186 if (_MAXRES <= 0.0) { 187 _MAXRES = 999.0; 188 } 182 189 } 183 190 … … 493 500 } 494 501 495 const double MAXRES = 999.10; // TODO: make it an option496 497 502 ColumnVector dx; 498 503 SymmetricMatrix QQ_sav = _QQ; … … 508 513 out << "Maximum Residuum " << maxRes << " (index " << maxResIndex << ")\n"; 509 514 510 if (maxRes > MAXRES) {515 if (maxRes > _MAXRES) { 511 516 out << "Outlier Detected" << endl; 512 517 _QQ = QQ_sav; -
trunk/BNC/combination/bnccomb.h
r3299 r3329 87 87 QString _masterAC; 88 88 bncAntex* _antex; 89 double _MAXRES; 89 90 }; 90 91
Note:
See TracChangeset
for help on using the changeset viewer.