mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-09 01:08:06 +01:00
HMC for Wilson Gauge action works
Fixed bug in momenta generation
This commit is contained in:
1 parent
6261770f59
commit
12e1682a87
9 files changed
+24
-40
No files matched your search
@@ -69,9 +69,7 @@ namespace Grid {
|
||||
for(int c2=0;c2<N;c2++)
|
||||
inner += innerProduct(ret._internal[c1][c2],ret._internal[c1][c2]);
|
||||
|
||||
//nrm = 1.0/sqrt(Reduce(toReal(inner)));
|
||||
nrm = rsqrt(inner);
|
||||
|
||||
for(int c2=0;c2<N;c2++)
|
||||
ret._internal[c1][c2]*= nrm;
|
||||
|
||||
|
||||
Reference in new issue
Block a user