diff --git a/.gitignore b/.gitignore index e69de29..44f6aba 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +users.json \ No newline at end of file diff --git a/rank.js b/rank.js index fd956b1..83e46b8 100644 --- a/rank.js +++ b/rank.js @@ -73,7 +73,6 @@ function rankCalc(result, iterations = 10) { let new_sum = Object.values(pr).reduce((a, b) => a + b, 0) for (let unn in result) { - h = pr[unn]; pr[unn] /= new_sum; } console.log(`Iteration ${i} calculated`);