Commit 92ad0a35 authored by Christoph Groth's avatar Christoph Groth

Fix failing test on i386

Closes #132
parent 79efdfee
Pipeline #6971 failed with stages
in 5 minutes and 2 seconds
......@@ -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
......
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