Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudon committed May 16, 2024
1 parent 0c45720 commit 944a9d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions netsalt/non_abelian.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 944a9d2

Please sign in to comment.