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

use scipy svd not numpy svd in test

parent 57f26fb7
Pipeline #18295 failed with stages
in 43 minutes and 3 seconds
......@@ -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 = []
......
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