summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/struct/statistics.erl')
-rw-r--r--src/struct/statistics.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/struct/statistics.erl b/src/struct/statistics.erl
index f3d78a8..6e29ea4 100644
--- a/src/struct/statistics.erl
+++ b/src/struct/statistics.erl
@@ -69,7 +69,7 @@ float_to_int (F) -> ceil(F).
min_max (Min, Max, V) -> min(Max, max(Min, V)).
-spec average (list(number())) -> number().
-average ([]) -> 0;
+%average ([]) -> 0;
average (L) -> lists:sum(L) / length(L).
% V | 010 | 030 | 050 | 070 | 100 |