Fix major error in rank_projection(), silly me
This commit is contained in:
parent
fdca511385
commit
0a6b8268fb
1 changed files with 2 additions and 2 deletions
|
@ -519,8 +519,8 @@ rank_projection(#projection{author_server=Author,
|
||||||
repairing=Repairing_list}, MemberRank, N) ->
|
repairing=Repairing_list}, MemberRank, N) ->
|
||||||
AuthorRank = orddict:fetch(Author, MemberRank),
|
AuthorRank = orddict:fetch(Author, MemberRank),
|
||||||
AuthorRank +
|
AuthorRank +
|
||||||
(1*N + length(Repairing_list)) +
|
( N * length(Repairing_list)) +
|
||||||
(2*N + length(UPI_list)).
|
(N*N * length(UPI_list)).
|
||||||
|
|
||||||
do_react_to_env(S) ->
|
do_react_to_env(S) ->
|
||||||
put(react, []),
|
put(react, []),
|
||||||
|
|
Loading…
Reference in a new issue