From b5c9738d525792c7cd5d32c80218d068eb0b2caf Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Wed, 20 Oct 2021 14:37:46 +0100 Subject: [PATCH] Bug in Zq fixed which altered the momentum of propagators --- pyerrors/npr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyerrors/npr.py b/pyerrors/npr.py index a5e79f28..98c99481 100644 --- a/pyerrors/npr.py +++ b/pyerrors/npr.py @@ -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)