commit | bd20bd5cec51cd14c9becb7b3f360c6b09adf549 | [log] [tgz] |
---|---|---|
author | Rodolphe QuiƩdeville <rodolphe@quiedeville.org> | Thu Oct 31 21:50:54 2013 +0100 |
committer | Rodolphe QuiƩdeville <rodolphe@quiedeville.org> | Thu Oct 31 21:50:54 2013 +0100 |
tree | 199e7265c8dcd5b3155b5a7fe364f2b58182e722 | |
parent | c65276d0c511687b3e02749089bea5633af4afc5 [diff] |
Remove non needed clause in ranks_of/5
diff --git a/src/bear.erl b/src/bear.erl index ffc9025..04593e7 100644 --- a/src/bear.erl +++ b/src/bear.erl
@@ -278,8 +278,6 @@ 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) ->