Skip to content

Commit

Permalink
should have written tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zcqian committed Oct 3, 2019
1 parent 7dfa038 commit 6d9e59c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self):
self.__total = 0.

def update(self, value: Number, count: int):
self.__total += value
self.__total += value * count
self.__count += count

@property
Expand Down

0 comments on commit 6d9e59c

Please sign in to comment.