summaryrefslogtreecommitdiff
path: root/src/intersim2/stats.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/intersim2/stats.hpp')
-rw-r--r--src/intersim2/stats.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intersim2/stats.hpp b/src/intersim2/stats.hpp
index 1aaf013..e186f4d 100644
--- a/src/intersim2/stats.hpp
+++ b/src/intersim2/stats.hpp
@@ -62,6 +62,9 @@ public:
inline void AddSample( int val ) {
AddSample( (double)val );
}
+ inline void AddSample( unsigned long long val ) {
+ AddSample( (double)val );
+ }
int GetBin(int b){ return _hist[b];}