diff options
| author | Tim Rogers <[email protected]> | 2019-08-23 15:33:38 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-08-23 15:33:38 -0400 |
| commit | 0df569774615120c76fb5f139f8698175a722293 (patch) | |
| tree | b8a1ca8e57bffc08db5ed2378990ec53353af11e /src/intersim2/stats.hpp | |
| parent | 2f5b3332c9b9b3fa9fea43d61276bddb24aa7df2 (diff) | |
| parent | 963947b33c99143afbb477a6d897245e56695b0b (diff) | |
Merge pull request #26 from mkhairy/dev
Merging Mahmoud's CUTLASS support and correlation fixes
Diffstat (limited to 'src/intersim2/stats.hpp')
| -rw-r--r-- | src/intersim2/stats.hpp | 3 |
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];} |
