1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-17 15:27:06 +01:00

fix state size

This commit is contained in:
Luchang Jin
2016-09-18 14:13:40 -04:00
parent 1abbe2fd0c
commit 8afcc8fb8b
2 changed files with 9 additions and 9 deletions

View File

@ -119,9 +119,9 @@ namespace Grid {
// One generator per site.
// Uniform and Gaussian distributions from these generators.
#ifdef RNG_SPRNG_SHA256
typedef uint64_t RngStateType;
typedef uint32_t RngStateType;
typedef SprngSha256 RngEngine;
static const int RngStateCount = 16;
static const int RngStateCount = 22;
#elif defined RNG_RANLUX
typedef uint64_t RngStateType;
typedef std::ranlux48 RngEngine;