Changeset 3708 in ntrip for trunk/BNC/rnxobsfile.cpp


Ignore:
Timestamp:
Feb 16, 2012, 4:25:58 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/rnxobsfile.cpp

    r3707 r3708  
    199199      _currEpo.satObs[iSat].prn = line.mid(0,3);
    200200      char sys = _currEpo.satObs[iSat].prn[0].toAscii();
     201      if (_currEpo.satObs[iSat].size() != _header.nTypes(sys)) {
     202        _currEpo.satObs[iSat].ReSize(_header.nTypes(sys));
     203      }
    201204      for (int iType = 0; iType < _header.nTypes(sys); iType++) {
    202         int pos = 16*iType;
     205        int pos = 3 + 16*iType;
    203206        readDbl(line, pos,     14, _currEpo.satObs[iSat][iType]);
    204207        readInt(line, pos + 14, 1, _currEpo.satObs[iSat].lli);
Note: See TracChangeset for help on using the changeset viewer.