From 5a882babc642c6d62ac1bf2367f46491e9457f3f Mon Sep 17 00:00:00 2001 From: biglyderv Date: Wed, 29 Jan 2025 19:08:43 -0500 Subject: [PATCH] sdvsd --- .gitignore | 1 + rank.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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`);