mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
No random device seed
This commit is contained in:
parent
f18f5ed926
commit
9cbcdd65d7
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user