Changeset 6034 in ntrip


Ignore:
Timestamp:
Aug 21, 2014, 12:02:42 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r6033 r6034  
    319319  map<t_frequency::type, double>::const_iterator it;
    320320  for (it = codeCoeff.begin(); it != codeCoeff.end(); it++) {
    321     retVal += it->second * OPT->_maxResC1;
     321    retVal += it->second * it->second * OPT->_maxResC1 * OPT->_maxResC1;
    322322  }
    323323  for (it = phaseCoeff.begin(); it != phaseCoeff.end(); it++) {
    324     retVal += it->second * OPT->_maxResL1;
    325   }
    326 
    327   return retVal;
     324    retVal += it->second * it->second * OPT->_maxResL1 * OPT->_maxResL1;
     325  }
     326
     327  return sqrt(retVal);
    328328}
    329329
Note: See TracChangeset for help on using the changeset viewer.