Changeset 4801 in ntrip


Ignore:
Timestamp:
Nov 17, 2012, 11:18:11 AM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncmodel.cpp

    r4278 r4801  
    210210  Tracer tracer("bncModel::reset");
    211211
    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;
    214219  }
    215220  _params.clear();
     
    221226  _params.push_back(new bncParam(bncParam::RECCLK, ++nextPar, ""));
    222227  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);
    224231  }
    225232  if (_opt->useGalileo) {
  • trunk/BNC/src/src.pro

    r4786 r4801  
    130130# Link to a 3rd-part library (test)
    131131# ---------------------------------
    132 # use_RTRover = true
     132use_RTRover = true
    133133
    134134equals(use_RTRover, true) {
Note: See TracChangeset for help on using the changeset viewer.