From 99183543829c0c12b28d74b3f5ceae8aaf178975 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=B3mas=20Rosdahl?= <torosdahl@gmail.com> Date: Tue, 28 May 2019 13:37:01 +0200 Subject: [PATCH] use scipy svd not numpy svd in test --- kwant/physics/tests/test_leads.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kwant/physics/tests/test_leads.py b/kwant/physics/tests/test_leads.py index bc41f671..e7994941 100644 --- a/kwant/physics/tests/test_leads.py +++ b/kwant/physics/tests/test_leads.py @@ -281,7 +281,7 @@ def test_modes_bearded_ribbon(): def check_equivalence(h, t, n, sym='', particle_hole=None, chiral=None, time_reversal=None): """Compare modes stabilization algorithms for a given Hamiltonian.""" - u, s, vh = np.linalg.svd(t) + u, s, vh = la.svd(t) u, v = u * np.sqrt(s), vh.T.conj() * np.sqrt(s) prop_vecs = [] evan_vecs = [] -- GitLab