Skip to content

Commit

Permalink
Remove erroneous type assert on Random.seed!
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash authored Jun 9, 2021
1 parent f367e13 commit a3d61a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const lowercaseletters = collect('a':'z')
const uppercaseletters = collect('A':'Z')
const letters = append!(collect('a':'z'),collect('A':'Z'))

seed(seed::Int=83)::Random.MersenneTwister = Random.seed!(seed)
seed(seed::Int=83) = Random.seed!(seed)
random_int(;min::Int=0, max::Int=9999)::String = string(rand(min : max))
random_digit()::String = string(rand(0:9))
random_digit_not_null()::String= string(rand(1:9))
Expand Down

0 comments on commit a3d61a4

Please sign in to comment.