Fix major error in rank_projection(), silly me

This commit is contained in:
Scott Lystig Fritchie 2014-11-03 23:04:46 +09:00
parent fdca511385
commit 0a6b8268fb

View file

@ -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, []),