mirror of
https://github.com/paboyle/Grid.git
synced 2026-11-02 02:08:05 +00:00
No random device seed
This commit is contained in:
1 parent
f18f5ed926
commit
9cbcdd65d7
1 file changed
+1
-1
@@ -425,7 +425,7 @@ namespace Grid {
|
|||||||
A[p]=zero;
|
A[p]=zero;
|
||||||
}
|
}
|
||||||
|
|
||||||
GridParallelRNG RNG(Grid()); RNG.SeedRandomDevice();
|
GridParallelRNG RNG(Grid()); RNG.SeedFixedIntegers(std::vector<int>({55,72,19,17,34}));
|
||||||
Lattice<iScalar<CComplex> > val(Grid()); random(RNG,val);
|
Lattice<iScalar<CComplex> > val(Grid()); random(RNG,val);
|
||||||
|
|
||||||
Complex one(1.0);
|
Complex one(1.0);
|
||||||
|
|||||||
Reference in new issue
Block a user