Skip to content
Snippets Groups Projects
Commit cb843d06 authored by patavirt's avatar patavirt
Browse files

solver: fix terminal sign

parent 9af2a67d
No related branches found
No related tags found
No related merge requests found
......@@ -119,7 +119,7 @@ class Core:
tau3 = np.diag([1, 1, -1, -1])
for i, j in zip(*np.where(m)):
M = self._Omega[i, j] + 1j * self._omega * tau3
Q = 1j * signm(-1j * M)
Q = signm(-1j * M)
g = np.linalg.solve(np.eye(2) + Q[:2, :2], Q[:2, 2:])
gt = np.linalg.solve(np.eye(2) - Q[2:, 2:], Q[2:, :2])
Phi[i, j, 0] = g
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment