Changeset 2742 in ntrip for trunk/BNC/bncmodel.cpp


Ignore:
Timestamp:
Nov 30, 2010, 10:26:51 AM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r2741 r2742  
    593593
    594594  bncSettings settings;
    595   double sig_P3;
    596   sig_P3 = 5.0;
    597   if ( Qt::CheckState(settings.value("pppUsePhase").toInt()) == Qt::Checked ) {
    598     sig_P3 = settings.value("pppSigmaCode").toDouble();
    599     if (sig_P3 < 0.3 || sig_P3 > 50.0) {
    600       sig_P3 = 5.0;
    601     }
    602   }
    603595
    604596  _log.clear(); 
     
    662654   
    663655      ll(iObs)      = satData->P3 - cmpValue(satData, false);
    664       PP(iObs,iObs) = 1.0 / (sig_P3 * sig_P3);
     656      PP(iObs,iObs) = 1.0 / (_sigP3 * _sigP3);
    665657      for (int iPar = 1; iPar <= _params.size(); iPar++) {
    666658        AA(iObs, iPar) = _params[iPar-1]->partial(satData, false);
Note: See TracChangeset for help on using the changeset viewer.