Bug in Zq fixed which altered the momentum of propagators

This commit is contained in:
Fabian Joswig 2021-10-20 14:37:46 +01:00
parent fe766cb44e
commit b5c9738d52

View file

@ -129,7 +129,7 @@ def _invert_propagator(prop):
def Zq(prop, fermion='Wilson'):
_check_geometry()
mom = prop.mom_in
mom = np.copy(prop.mom_in)
mom[3] /= T / L
sin_mom = np.sin(2 * np.pi / L * mom)