1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-08-17 03:31:54 +01:00

Drop random device

This commit is contained in:
paboyle
2017-04-02 00:26:26 +09:00
parent d1d63a4f2d
commit f18f5ed926
5 changed files with 12 additions and 11 deletions

View File

@@ -66,7 +66,8 @@ int main (int argc, char ** argv)
Vec tsum; tsum = zero;
GridParallelRNG pRNG(&Grid); pRNG.SeedRandomDevice();
GridParallelRNG pRNG(&Grid);
pRNG.SeedFixedIntegers(std::vector<int>({56,17,89,101}));
std::vector<double> stop(threads);
Vector<Vec> sum(threads);