Skip to content

Commit 815a7ac

Browse files
committed
consistent order
1 parent 55b95ad commit 815a7ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/threshold/scott.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ import deviation from "../deviation.js";
33

44
export default function thresholdScott(values, min, max) {
55
const c = count(values), d = deviation(values);
6-
return d && c ? Math.ceil((max - min) * Math.cbrt(c) / (3.49 * d)) : 1;
6+
return c && d ? Math.ceil((max - min) * Math.cbrt(c) / (3.49 * d)) : 1;
77
}

0 commit comments

Comments
 (0)