Don't scramble xoshiro on fork since seed is already enough random
This commit is contained in:
parent
f866f2a401
commit
ebdff6811d
@ -92,7 +92,7 @@ class Xoshiro256SSRandom private constructor(
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun fork(): RandomSource {
|
override fun fork(): RandomSource {
|
||||||
return Xoshiro256SSRandom(nextLong(), nextLong(), nextLong(), nextLong())
|
return Xoshiro256SSRandom(nextLong(), nextLong(), nextLong(), nextLong(), null)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun forkPositional(): PositionalRandomFactory {
|
override fun forkPositional(): PositionalRandomFactory {
|
||||||
|
Loading…
Reference in New Issue
Block a user