Changeset 6361 in ntrip for trunk/BNC/src/orbComp/sp3Comp.cpp


Ignore:
Timestamp:
Dec 1, 2014, 7:30:26 PM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/orbComp/sp3Comp.cpp

    r6360 r6361  
    249249  // Transform xyz into radial, along-track, and out-of-plane
    250250  // --------------------------------------------------------
     251  if (epochs.size() < 2) {
     252    throw "t_sp3Comp: not enought common epochs";
     253  }
    251254  for (unsigned ie = 0; ie < epochs.size(); ie++) {
    252255    t_epoch* epoch  = epochs[ie];
    253256    t_epoch* epoch2 = 0;
    254     if (ie == 0 && epochs.size() > 1) {
     257    if (ie == 0) {
    255258      epoch2 = epochs[ie+1];
    256259    }
Note: See TracChangeset for help on using the changeset viewer.