diff --git a/entropy_helper.py b/entropy_helper.py index dbe7af3..4b736dc 100644 --- a/entropy_helper.py +++ b/entropy_helper.py @@ -91,5 +91,5 @@ def _entropy_overview(total, matching): # get the overal identifying information measure, and some other # hopefully informative stuff, for the user bits = round(-log(matching / float(total), 2), 2) - group = float(total) / matching + group = round(float(total) / matching, 2) return bits, group