1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 15:55:37 +00:00

Set imaginary part of stochastic QED field to zero using real() instead of conjugate().

This commit is contained in:
James Harrison 2016-11-15 13:07:52 +00:00
parent 92ec3404f8
commit 739c2308b5

View File

@ -173,7 +173,7 @@ namespace QCD{
} }
fft.FFT_all_dim(out, aTilde, FFT::backward); fft.FFT_all_dim(out, aTilde, FFT::backward);
out = 0.5*(out + conjugate(out)); out = real(out);
} }
// template<class Gimpl> // template<class Gimpl>
// void Photon<Gimpl>::FeynmanGaugeMomentumSpacePropagator_L(GaugeField &out, // void Photon<Gimpl>::FeynmanGaugeMomentumSpacePropagator_L(GaugeField &out,