mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-22 07:03:22 +01:00
QedFVol: Fix single precision build error
This commit is contained in:
1 parent
5f483df16b
commit
69e4ecc1d2
1 file changed
+2
-1
@@ -117,7 +117,8 @@ namespace QCD{
|
|||||||
for(int mu = 0; mu < nd; mu++)
|
for(int mu = 0; mu < nd; mu++)
|
||||||
{
|
{
|
||||||
LatticeCoordinate(xmu,mu);
|
LatticeCoordinate(xmu,mu);
|
||||||
xmu = where(xmu < l[mu]/2.0, xmu, xmu-double(l[mu]));
|
Real lo2 = l[mu]/2.0;
|
||||||
|
xmu = where(xmu < lo2, xmu, xmu-double(l[mu]));
|
||||||
out = out + toComplex(4*M_PI*M_PI*xmu*xmu);
|
out = out + toComplex(4*M_PI*M_PI*xmu*xmu);
|
||||||
}
|
}
|
||||||
pokeSite(Tone, out, x0);
|
pokeSite(Tone, out, x0);
|
||||||
|
|||||||
Reference in new issue
Block a user