Changeset 5917 in ntrip for trunk


Ignore:
Timestamp:
Aug 12, 2014, 5:11:50 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppParlist.cpp

    r5914 r5917  
    212212//
    213213////////////////////////////////////////////////////////////////////////////
    214 t_irc t_pppParlist::set(const bncTime& epoTime, const vector<t_lc::type>& ambLCs,
    215                      const vector<t_pppSatObs*>& obsVector) {
     214t_irc t_pppParlist::set(const bncTime& epoTime, const std::vector<t_pppSatObs*>& obsVector) {
    216215
    217216  // Remove some Parameters
     
    294293  // Ambiguities
    295294  // -----------
    296   for (unsigned ii = 0; ii < ambLCs.size(); ii++) {
    297     const t_lc::type& tLC = ambLCs[ii];
    298     for (unsigned jj = 0; jj < obsVector.size(); jj++) {
    299       const t_pppSatObs* satObs = obsVector[jj];
    300       required.push_back(new t_pppParam(t_pppParam::amb, satObs->prn(), tLC, &obsVector));
     295  for (unsigned jj = 0; jj < obsVector.size(); jj++) {
     296    const t_pppSatObs*        satObs = obsVector[jj];
     297    const vector<t_lc::type>& ambLCs = OPT->ambLCs(satObs->prn().system());
     298    for (unsigned ii = 0; ii < ambLCs.size(); ii++) {
     299      required.push_back(new t_pppParam(t_pppParam::amb, satObs->prn(), ambLCs[ii], &obsVector));
    301300    }
    302301  }
Note: See TracChangeset for help on using the changeset viewer.