We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 792769e commit ec369cdCopy full SHA for ec369cd
devops/scripts/benchmarking/aggregate.py
@@ -17,7 +17,7 @@ def add(self, n: float):
17
self.elements.append(n)
18
19
def get_median(self) -> float:
20
- return statistics.median(elements)
+ return statistics.median(self.elements)
21
22
23
# Calculate medians incrementally using a heap: Useful for when dealing with
0 commit comments