Skip to content

Commit b5ceacc

Browse files
committed
fix round avg_cur
1 parent f908d18 commit b5ceacc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/review_heatmap/activity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def _getActivity(self, history, forecast={}):
135135
avg_cur = multiplier * previous_avg_cur
136136

137137
ema = round(ema * 100, 2)
138-
avg_cur = round(avg_cur * 100, 2)
138+
avg_cur = round(avg_cur)
139139

140140
# Stats: average count on days with activity
141141
# avg_cur = int(round(total / max(days_learned, 1)))

0 commit comments

Comments
 (0)