Skip to content

Commit

Permalink
Improve outliers
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Sep 26, 2021
1 parent f600c17 commit af3ea14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stats/outliers.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ const getOutliersIncrement = function (
const finalIndex = Math.floor(quantilesAmount / 2)

// eslint-disable-next-line fp/no-loops, fp/no-let, fp/no-mutation
for (let index = 1; index < finalIndex; index += 1) {
for (let index = 1; index <= finalIndex; index += 1) {
const quantile = quantiles[startIndex + index]
const widthPercentage = (start - quantile) / width

Expand Down

0 comments on commit af3ea14

Please sign in to comment.