Skip to content

Commit ec369cd

Browse files
committed
Fix bug
1 parent 792769e commit ec369cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devops/scripts/benchmarking/aggregate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def add(self, n: float):
1717
self.elements.append(n)
1818

1919
def get_median(self) -> float:
20-
return statistics.median(elements)
20+
return statistics.median(self.elements)
2121

2222

2323
# Calculate medians incrementally using a heap: Useful for when dealing with

0 commit comments

Comments
 (0)