Skip to content
Permalink
Browse files
Remove non needed clause in ranks_of/5
  • Loading branch information
rodo committed Oct 31, 2013
1 parent c65276d commit bd20bd5cec51cd14c9becb7b3f360c6b09adf549
Showing 1 changed file with 0 additions and 2 deletions.
@@ -278,8 +278,6 @@ ranks_of(Values) when is_list(Values) ->
end, [], Values),
lists:reverse(L).

ranks_of([E|Es],Acc, N, E, S) ->
ranks_of(Es, Acc, N+1, E, S);
ranks_of([E|Es], Acc, N, P, S) ->
ranks_of(Es,[{P,(S+N-1)/2}|Acc], N+1, E, N);
ranks_of([], Acc, N, P, S) ->

0 comments on commit bd20bd5

Please sign in to comment.