hypnosound 1.5.3 → 1.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -175,8 +175,8 @@ export function makeCalculateStats(historySize = 500) {
|
|
|
175
175
|
|
|
176
176
|
let mean = sum / queue.length
|
|
177
177
|
let variance = sumOfSquares / queue.length - mean * mean
|
|
178
|
-
let min = minQueue.length ? minQueue[0] :
|
|
179
|
-
let max = maxQueue.length ? maxQueue[0] :
|
|
178
|
+
let min = minQueue.length ? minQueue[0] : 0
|
|
179
|
+
let max = maxQueue.length ? maxQueue[0] : 0
|
|
180
180
|
let median = calculateMedian()
|
|
181
181
|
let mad = calculateMAD(median)
|
|
182
182
|
|