mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
Fixed single precision compatibility issues
This commit is contained in:
parent
bdd2765461
commit
2b2fc6453f
@ -181,7 +181,7 @@ void TMeson<FImpl1, FImpl2>::execute(void)
|
||||
LatticeCoordinate(coor, mu);
|
||||
ph = ph + p[mu]*coor*((1./(env().getGrid()->_fdimensions[mu])));
|
||||
}
|
||||
ph = exp(-2*M_PI*i*ph);
|
||||
ph = exp(-(Real)(2*M_PI)*i*ph);
|
||||
|
||||
parseGammaString(gammaList);
|
||||
|
||||
|
@ -133,7 +133,7 @@ void TWall<FImpl>::execute(void)
|
||||
LatticeCoordinate(coor, mu);
|
||||
ph = ph + p[mu]*coor*((1./(env().getGrid()->_fdimensions[mu])));
|
||||
}
|
||||
ph = exp(-2*M_PI*i*ph);
|
||||
ph = exp(-(Real)(2*M_PI)*i*ph);
|
||||
sliceSum<SitePropagator>(ph*q, prop, Tp);
|
||||
}
|
||||
|
||||
|
@ -152,7 +152,7 @@ void TSeqGamma<FImpl>::execute(void)
|
||||
LatticeCoordinate(coor, mu);
|
||||
ph = ph + p[mu]*coor*((1./(env().getGrid()->_fdimensions[mu])));
|
||||
}
|
||||
ph = exp(2*M_PI*i*ph);
|
||||
ph = exp((Real)(2*M_PI)*i*ph);
|
||||
LatticeCoordinate(t, Tp);
|
||||
src = where((t >= par().tA) and (t <= par().tB), ph*(g*q), 0.*q);
|
||||
}
|
||||
|
@ -134,7 +134,7 @@ void TWall<FImpl>::execute(void)
|
||||
LatticeCoordinate(coor, mu);
|
||||
ph = ph + p[mu]*coor*((1./(env().getGrid()->_fdimensions[mu])));
|
||||
}
|
||||
ph = exp(2*M_PI*i*ph);
|
||||
ph = exp((Real)(2*M_PI)*i*ph);
|
||||
LatticeCoordinate(t, Tp);
|
||||
src = 1.;
|
||||
src = where((t == par().tW), src*ph, 0.*src);
|
||||
|
Loading…
Reference in New Issue
Block a user