Don't scramble xoshiro on fork since seed is already enough random
This commit is contained in:
parent
7a4ce4f394
commit
84d4ed78ea
@ -93,7 +93,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