Skip to content
Snippets Groups Projects
Commit 92ad0a35 authored by Christoph Groth's avatar Christoph Groth
Browse files

Fix failing test on i386

Closes #132
parent 79efdfee
No related branches found
No related merge requests found
Pipeline #
......@@ -253,7 +253,7 @@ def syst_rect(lat, salt, W=3, L=50):
ww = W//2
def onsite(site):
return 4 + 0.1 * kwant.digest.gauss(site.tag, salt=salt)
return 4 + 0.1 * kwant.digest.gauss(repr(site.tag), salt=salt)
syst[(lat(i, j) for i in range(-ll, ll+1)
for j in range(-ww, ww+1))] = onsite
......
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