Applied no-mixed-operators linting rule

This commit is contained in:
Filip Barl
2016-12-06 19:36:32 +01:00
parent e60418a986
commit 776b4d72eb
14 changed files with 41 additions and 37 deletions

View File

@@ -6,6 +6,6 @@ export function uniformSelect(array, size) {
}
return _.range(size).map(index =>
array[parseInt(index * array.length / (size - 1 + 1e-9), 10)]
array[parseInt(index * (array.length / (size - (1 - 1e-9))), 10)]
);
}