Permalink
Browse files

corrected tempRes variable reset: object and not variable

  • Loading branch information...
1 parent 8823d08 commit 4df6209033e56848bc7d36be372c23bea21da12e @mef mef committed Jul 31, 2014
Showing with 1 addition and 2 deletions.
  1. +1 −2 plugins/sigma.statistics.HITS/sigma.statistics.HITS.js
@@ -137,10 +137,9 @@
if (Math.abs((tempRes[hubList[i].id].hub - res[hubList[i].id].hub) / res[hubList[i].id].hub) >= epsilon)
done = false
}
-
res = tempRes
- tempRes = []
+ tempRes = {}
if (done)
break

0 comments on commit 4df6209

Please sign in to comment.