Remove uniform_s/2 from old random code
This commit is contained in:
parent
38e9b0e80a
commit
bbe763514b
1 changed files with 0 additions and 3 deletions
|
@ -37,9 +37,6 @@ uniform() ->
|
|||
uniform(N) ->
|
||||
random:uniform(N).
|
||||
|
||||
uniform_s(N, State) ->
|
||||
random:uniform_s(N, State).
|
||||
|
||||
seed() ->
|
||||
SW = os:timestamp(),
|
||||
random:seed(erlang:phash2(self()), element(2, SW), element(3, SW)).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue