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 f866f2a401
commit ebdff6811d
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -92,7 +92,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 {