Skip to content

Commit 6d533d5

Browse files
author
Julian Urban
committed
2D Thirring
1 parent 9af2fda commit 6d533d5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Diff for: thirring/thirring.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -405,11 +405,7 @@ def det_sparse(M):
405405
return out
406406

407407
def bosonic_force(cfg, verbose=False):
408-
F = np.zeros(cfg.shape, dtype=np.complex128)
409-
# specialized to U(1)
410-
F[0] = cfg[0]
411-
F[1] = cfg[1]
412-
F = -1j * (F - np.conj(F)) / 2
408+
F = -1j * (cfg - np.conj(cfg)) / 2
413409
if verbose: print("bosonic_force {:.8f}".format(np.mean(np.abs(F))))
414410
return F
415411
# TEST:

0 commit comments

Comments
 (0)