Don't scramble xoshiro on fork since seed is already enough random

This commit is contained in:
DBotThePony 2025-03-06 16:49:10 +07:00
parent 7a4ce4f394
commit 84d4ed78ea
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -93,7 +93,7 @@ class Xoshiro256SSRandom private constructor(
}
override fun fork(): RandomSource {
return Xoshiro256SSRandom(nextLong(), nextLong(), nextLong(), nextLong())
return Xoshiro256SSRandom(nextLong(), nextLong(), nextLong(), nextLong(), null)
}
override fun forkPositional(): PositionalRandomFactory {