Changeset 4801 in ntrip
- Timestamp:
- Nov 17, 2012, 11:18:11 AM (12 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncmodel.cpp
r4278 r4801 210 210 Tracer tracer("bncModel::reset"); 211 211 212 for (int iPar = 1; iPar <= _params.size(); iPar++) { 213 delete _params[iPar-1]; 212 double lastTrp = 0.0; 213 for (int ii = 0; ii < _params.size(); ii++) { 214 bncParam* pp = _params[ii]; 215 if (pp->type == bncParam::TROPO) { 216 lastTrp = pp->xx; 217 } 218 delete pp; 214 219 } 215 220 _params.clear(); … … 221 226 _params.push_back(new bncParam(bncParam::RECCLK, ++nextPar, "")); 222 227 if (_opt->estTropo) { 223 _params.push_back(new bncParam(bncParam::TROPO, ++nextPar, "")); 228 bncParam* pp = new bncParam(bncParam::TROPO, ++nextPar, ""); 229 pp->xx = lastTrp; 230 _params.push_back(pp); 224 231 } 225 232 if (_opt->useGalileo) { -
trunk/BNC/src/src.pro
r4786 r4801 130 130 # Link to a 3rd-part library (test) 131 131 # --------------------------------- 132 #use_RTRover = true132 use_RTRover = true 133 133 134 134 equals(use_RTRover, true) {
Note:
See TracChangeset
for help on using the changeset viewer.