- Timestamp:
- 09/16/13 18:41:44 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/smartfact.cc
r17123 r17169 685 685 686 686 const size_t p = t.size()/2; 687 688 med = copy[p]; 687 med = p%2 ? copy[p] : (copy[p-1]+copy[p])/2.; 689 688 } 690 689 }; … … 1697 1696 1698 1697 avg /= num; 1699 rms = sqrt(rms/num-avg*avg); 1698 rms /= num; 1699 rms += avg*avg; 1700 rms = rms<0 ? 0 : sqrt(rms); 1700 1701 1701 1702 if (!fMagicWeatherHist[kTemp].empty())
Note:
See TracChangeset
for help on using the changeset viewer.