Resolve OTP 19 compatibility
Dialyzer issues otherwise
This commit is contained in:
parent
9d9ad17d36
commit
7a99d060a3
2 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@
|
|||
end_key :: tuple() | undefined,
|
||||
owner :: pid()|list(),
|
||||
filename :: string() | undefined,
|
||||
bloom :: binary() | none}).
|
||||
bloom :: binary() | none | undefined}).
|
||||
|
||||
-record(cdb_options,
|
||||
{max_size :: integer() | undefined,
|
||||
|
|
|
@ -560,7 +560,7 @@ test_bloom(N, Runs) ->
|
|||
fun(HashList) ->
|
||||
HitOrMissFun =
|
||||
fun (Entry, {HitL, MissL}) ->
|
||||
case random:uniform() < 0.5 of
|
||||
case leveled_rand:uniform() < 0.5 of
|
||||
true ->
|
||||
{[Entry|HitL], MissL};
|
||||
false ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue