Arguments were reversed.
This commit is contained in:
parent
b67d1f8449
commit
244aeb0f0b
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ close(#index{file=File}) ->
|
|||
|
||||
|
||||
lookup(#index{file=File, root=Node, bloom=Bloom}, Key) ->
|
||||
case bloom:is_element(Bloom, Key) of
|
||||
case bloom:is_element(Key, Bloom) of
|
||||
true ->
|
||||
case lookup_in_node(File, Node, Key) of
|
||||
not_found ->
|
||||
|
|
Loading…
Reference in a new issue