possible fix?
This commit is contained in:
parent
ea713643da
commit
26a7313626
1 changed files with 2 additions and 3 deletions
5
rank.js
5
rank.js
|
@ -27,9 +27,8 @@ function rankCalc(result, iterations = 10, main = [], domain_mode = false) {
|
||||||
|
|
||||||
matrixe[unn] = {};
|
matrixe[unn] = {};
|
||||||
matrixe[unn][unn] = 1;
|
matrixe[unn][unn] = 1;
|
||||||
frs[unn] = result[unn].followers;
|
frs[unn] = result[unn].followers|| [];
|
||||||
fng[unn] = result[unn].following;
|
fng[unn] = result[unn].following || [];
|
||||||
|
|
||||||
|
|
||||||
let lf = Object.keys(fng[unn]).length;
|
let lf = Object.keys(fng[unn]).length;
|
||||||
if (domain_mode) {
|
if (domain_mode) {
|
||||||
|
|
Loading…
Reference in a new issue