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) ->
|
||||
AuthorRank = orddict:fetch(Author, MemberRank),
|
||||
AuthorRank +
|
||||
(1*N + length(Repairing_list)) +
|
||||
(2*N + length(UPI_list)).
|
||||
( N * length(Repairing_list)) +
|
||||
(N*N * length(UPI_list)).
|
||||
|
||||
do_react_to_env(S) ->
|
||||
put(react, []),
|
||||
|
|
Loading…
Reference in a new issue