Changeset 6257 in ntrip
- Timestamp:
- Oct 24, 2014, 3:21:22 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcanalyze.cpp
r6256 r6257 317 317 mean += point->_value; 318 318 } 319 mean /= dataSNR1->size(); 319 if (dataSNR1->size() > 0) { 320 mean /= dataSNR1->size(); 321 } 320 322 double max = (mean > 9.0) ? 54.0 : 9.0; 321 323 QByteArray str = (mean > 9.0) ? "dbHz" : ""; … … 836 838 mean += point->_value; 837 839 } 838 mean /= data->size(); 840 if (data->size() > 0) { 841 mean /= data->size(); 842 } 839 843 *_log << text << mean << endl; 840 844 }
Note:
See TracChangeset
for help on using the changeset viewer.