Skip to content

Counters: Change return type of floating point operations

Frank Winklmeier requested to merge fwinkl/Gaudi:counters_return_type into master

Previously the return type of e.g. AveragingCounter<int>::mean() would be fixed to int. Change the default type to double but also allow the user to explicitly specify the return type via an additional template parameter: mean<long>(). The same change was done for all methods involving floating point operations.

This fixes issue #50 (closed).

Merge request reports