From b3f2b33ae306c1c5664ac5d0a691b74f186df306 Mon Sep 17 00:00:00 2001 From: Pauli Virtanen <pauli.t.virtanen@jyu.fi> Date: Fri, 2 Sep 2022 16:04:24 +0300 Subject: [PATCH] tests: fix h field direction --- tests/test_solver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_solver.py b/tests/test_solver.py index b58c6d4..ecbb70b 100644 --- a/tests/test_solver.py +++ b/tests/test_solver.py @@ -291,7 +291,7 @@ def test_soc_analytic(n=10): sol.Ux[...] = expm(1j * dx * Ax) sol.Uy[...] = expm(1j * dy * Ay) - sol.Omega[...] += h * np.kron(sz, sz) + sol.Omega[...] += h * np.kron(sz, sx) return sol -- GitLab