mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 09:41:57 +00:00
Applied no-mixed-operators linting rule
This commit is contained in:
@@ -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)]
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user