From 944a9d2aa24d223e302773ec60f3db44db3ab468 Mon Sep 17 00:00:00 2001 From: arnaudon Date: Thu, 16 May 2024 12:51:57 +0200 Subject: [PATCH] tmp --- netsalt/non_abelian.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/netsalt/non_abelian.py b/netsalt/non_abelian.py index fc4e371..2ee812f 100644 --- a/netsalt/non_abelian.py +++ b/netsalt/non_abelian.py @@ -117,9 +117,9 @@ def _ext(i): chi = graph.graph["ks"][ei] length = graph.graph["lengths"][ei] - w_perp = Ad(2.0 * length * chi).dot(proj_perp(chi)) - w_paral = abelian_scale * np.exp(2.0j * length * norm(chi)) * proj_paral(chi) - w = w_perp + w_paral - np.eye(3) + w_perp = (Ad(2.0 * length * chi) - np.eye(3)).dot(proj_perp(chi)) + w_paral = abelian_scale * (np.exp(2.0j * length * norm(chi)) - np.eye(3)) * proj_paral(chi) + w = w_perp + w_paral winv = linalg.inv(w)