Changeset 6063 in ntrip for trunk/BNC/src/PPP_free


Ignore:
Timestamp:
Sep 7, 2014, 9:39:19 AM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r6062 r6063  
    783783    ColumnVector sz = -rSat / rSat.norm_Frobenius();
    784784
    785     ColumnVector xSun = Sun(Mjd);
     785    ColumnVector xSun = t_astro::Sun(Mjd);
    786786    xSun /= xSun.norm_Frobenius();
    787787
     
    10081008    // First update using code observations, then phase observations
    10091009    // -------------------------------------------------------------     
    1010     for (int iPhase = 0; iPhase <= (_opt->usePhase ? 1 : 0); iPhase++) {
     1010    bool usePhase = _opt->ambLCs('G').size() || _opt->ambLCs('R').size() ||
     1011                    _opt->ambLCs('E').size();
     1012
     1013    for (int iPhase = 0; iPhase <= (usePhase ? 1 : 0); iPhase++) {
    10111014   
    10121015      // Status Prediction
     
    10711074        }
    10721075
    1073         if (!_opt->usePhase || iPhase == 1) {
     1076        if (!usePhase || iPhase == 1) {
    10741077          if (_outlierGPS.size() > 0 || _outlierGlo.size() > 0) {
    10751078            _log += "Neglected PRNs: ";
Note: See TracChangeset for help on using the changeset viewer.