mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
Hadrons: PR#177: Electrify gauge: Single Precision fix
This commit is contained in:
parent
4c016cc1a4
commit
e0a79a5bbf
@ -139,7 +139,7 @@ void TElectrify<GImpl>::execute(void)
|
||||
|
||||
for(unsigned int mu = 0; mu < env().getNd(); mu++)
|
||||
{
|
||||
eiAmu = exp(i * par().e * par().charge * PeekIndex<LorentzIndex>(A, mu));
|
||||
eiAmu = exp(i * (Real)(par().e * par().charge) * PeekIndex<LorentzIndex>(A, mu));
|
||||
PokeIndex<LorentzIndex>(Ue, PeekIndex<LorentzIndex>(U, mu) * eiAmu, mu);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user