mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 05:54:32 +00:00 
			
		
		
		
	Hadrons: PR#177: Electrify gauge: Single Precision fix
This commit is contained in:
		@@ -139,7 +139,7 @@ void TElectrify<GImpl>::execute(void)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    for(unsigned int mu = 0; mu < env().getNd(); mu++)
 | 
					    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);
 | 
						PokeIndex<LorentzIndex>(Ue, PeekIndex<LorentzIndex>(U, mu) * eiAmu, mu);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user