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,
|
end_key :: tuple() | undefined,
|
||||||
owner :: pid()|list(),
|
owner :: pid()|list(),
|
||||||
filename :: string() | undefined,
|
filename :: string() | undefined,
|
||||||
bloom :: binary() | none}).
|
bloom :: binary() | none | undefined}).
|
||||||
|
|
||||||
-record(cdb_options,
|
-record(cdb_options,
|
||||||
{max_size :: integer() | undefined,
|
{max_size :: integer() | undefined,
|
||||||
|
|
|
@ -560,7 +560,7 @@ test_bloom(N, Runs) ->
|
||||||
fun(HashList) ->
|
fun(HashList) ->
|
||||||
HitOrMissFun =
|
HitOrMissFun =
|
||||||
fun (Entry, {HitL, MissL}) ->
|
fun (Entry, {HitL, MissL}) ->
|
||||||
case random:uniform() < 0.5 of
|
case leveled_rand:uniform() < 0.5 of
|
||||||
true ->
|
true ->
|
||||||
{[Entry|HitL], MissL};
|
{[Entry|HitL], MissL};
|
||||||
false ->
|
false ->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue