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 5cc0bd1 commit 063d059Copy full SHA for 063d059
worker.js
@@ -108,7 +108,7 @@ function findMedian(aggregated) {
108
// Select median
109
const sortKey = aggregated.sortKey
110
for (const k of Object.keys(aggregated)) {
111
- if (k === sortKey) continue
+ if (aggregated[k] === sortKey) continue
112
aggregated[k].sort((a, b) => a[sortKey] > b[sortKey])
113
const middleIndex = Math.floor(aggregated[k].length / 2);
114
results.push({
0 commit comments