Changeset 7299 in ntrip for trunk/BNC/src/combination/bnccomb.cpp
- Timestamp:
- Sep 23, 2015, 5:21:35 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/combination/bnccomb.cpp
r7297 r7299 123 123 124 124 return outStr; 125 } 126 127 // Singleton 128 //////////////////////////////////////////////////////////////////////////// 129 bncComb* bncComb::instance() { 130 static bncComb _bncComb; 131 return &_bncComb; 125 132 } 126 133 … … 857 864 for (int iPar = 1; iPar <= _params.size(); iPar++) { 858 865 cmbParam* pp = _params[iPar-1]; 859 if ( AA.Column(iPar).maximum_absolute_value() > 0.0 && 866 if ( pp && 867 AA.Column(iPar).maximum_absolute_value() > 0.0 && 860 868 pp->type == cmbParam::offACSat && 861 869 pp->prn == prn) { … … 871 879 // for (int iPar = 1; iPar <= _params.size(); iPar++) { 872 880 // cmbParam* pp = _params[iPar-1]; 873 // if ( AA.Column(iPar).maximum_absolute_value() > 0.0 && 881 // if ( pp && 882 // AA.Column(iPar).maximum_absolute_value() > 0.0 && 874 883 // pp->type == cmbParam::offACSat && 875 884 // pp->prn == prn) {
Note:
See TracChangeset
for help on using the changeset viewer.