diff options
author | Tibor Frank <tifrank@cisco.com> | 2018-04-23 13:41:51 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2018-04-23 13:43:28 +0200 |
commit | 6f8266f81bb052e2c0e51b029e47f0eb4f04a7ed (patch) | |
tree | 0a1ea3d3ddcdf3fa9d664308f59c1956d24f7cff /resources/tools/presentation/utils.py | |
parent | 7aa0d625baca67d9789b5db3da2ee468597d254b (diff) |
Report: fix performance comparision tables
Change-Id: Ieae746412427980fb86512253cc58ebcee991317
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/utils.py')
-rw-r--r-- | resources/tools/presentation/utils.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/resources/tools/presentation/utils.py b/resources/tools/presentation/utils.py index 0e72a06343..2fbf70cadc 100644 --- a/resources/tools/presentation/utils.py +++ b/resources/tools/presentation/utils.py @@ -36,10 +36,7 @@ def mean(items): :rtype: float """ - if len(items): - return float(sum(items)) / len(items) - else: - return None + return float(sum(items)) / len(items) def stdev(items): |