mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-16 14:57:05 +01:00
fix sprng-sha256 seed with seq
This commit is contained in:
@ -69,6 +69,7 @@ struct SprngSha256
|
||||
{
|
||||
std::array<uint32_t, 8> seq;
|
||||
q.generate(seq.begin(), seq.end());
|
||||
reset(rs);
|
||||
for (size_t i = 0; i < seq.size(); ++i) {
|
||||
splitRngState(rs, rs, seq[i]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user