Refs #24522 -- Fixed code comment about seeds in Shuffler.__init__().
This commit is contained in:
parent
ae32e337e0
commit
f5dccbafb9
|
@ -492,7 +492,7 @@ class Shuffler:
|
||||||
|
|
||||||
def __init__(self, seed=None):
|
def __init__(self, seed=None):
|
||||||
if seed is None:
|
if seed is None:
|
||||||
# Limit seeds to 9 digits for simpler output.
|
# Limit seeds to 10 digits for simpler output.
|
||||||
seed = random.randint(0, 10**10 - 1)
|
seed = random.randint(0, 10**10 - 1)
|
||||||
seed_source = 'generated'
|
seed_source = 'generated'
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue