Skip to content

Commit

Permalink
Fix cold
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Dec 19, 2021
1 parent 3f93ea7 commit c25176b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stats/cold/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const defaultFilter = function () {

const getCold = function (array, { mean, filter, length }) {
if (mean === 0) {
return 1
return 0
}

const minIndex = getIndexFromLength(COLD_MIN_PERCENTAGE, length)
Expand Down

0 comments on commit c25176b

Please sign in to comment.