Commit 99183543 authored by Tómas's avatar Tómas Committed by Anton Akhmerov
Browse files

use scipy svd not numpy svd in test

parent 57f26fb7
......@@ -281,7 +281,7 @@ def test_modes_bearded_ribbon():
def check_equivalence(h, t, n, sym='', particle_hole=None, chiral=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 = []
Supports Markdown
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