Commit 3b398043 authored by Heiko Hergert's avatar Heiko Hergert
Browse files

Fixed sign issue in sisj matrix.

parent 9d3b2f14
......@@ -153,8 +153,8 @@ class TSpinSq(object):
spin = self.s
sisj_matrix = np.array([[spin**2, 0, 0, 0],
[0, -spin**2, spin, 0],
[0, spin, spin**2, 0],
[0, 0, 0, -spin**2]])
[0, spin, -spin**2, 0],
[0, 0, 0, spin**2]])
sym1 = sisj_matrix[int(ps==qs),int(rs==ss)]
sym2 = sisj_matrix[int(qs==ps),int(ss==rs)]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment