Changeset 6217 in ntrip


Ignore:
Timestamp:
Oct 9, 2014, 3:40:04 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/rnxobsfile.cpp

    r6216 r6217  
    785785      char sys0 = t_rnxObsHeader::defaultSystems[0].toAscii();
    786786      for (int iObs = 0; iObs < header._obsTypes[sys0].size(); iObs++) {
    787         _header._obsTypes[sys0].push_back(header.obsType(sys0, iObs, _header._version));
    788       }
    789       for (int iSys = 1; iSys < t_rnxObsHeader::defaultSystems.length(); iSys++) {
    790         char sysI = t_rnxObsHeader::defaultSystems[iSys].toAscii();
    791         _header._obsTypes[sysI] = _header._obsTypes[sys0];
     787        for (int iSys = 0; iSys < t_rnxObsHeader::defaultSystems.length(); iSys++) {
     788          char sysI = t_rnxObsHeader::defaultSystems[iSys].toAscii();
     789          _header._obsTypes[sysI].push_back(header.obsType(sys0, iObs, _header._version));
     790        }
    792791      }
    793792    }
     
    797796        char sysI = t_rnxObsHeader::defaultSystems[iSys].toAscii();
    798797        for (int iObs = 0; iObs < header._obsTypes[sys0].size(); iObs++) {
    799           _header._obsTypes[sysI].push_back(header.obsType(sys0, iObs, _header._version));
     798          _header._obsTypes[sysI].push_back(header.obsType(sysI, iObs, _header._version));
    800799        }
    801800      }
Note: See TracChangeset for help on using the changeset viewer.