From 92ad0a35b998305276e8963b7dc72cc33f5fcf3f Mon Sep 17 00:00:00 2001 From: Christoph Groth <christoph.groth@cea.fr> Date: Wed, 24 May 2017 13:20:22 +0200 Subject: [PATCH] Fix failing test on i386 Closes #132 --- kwant/tests/test_plotter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kwant/tests/test_plotter.py b/kwant/tests/test_plotter.py index fa8cd5a9..4619116d 100644 --- a/kwant/tests/test_plotter.py +++ b/kwant/tests/test_plotter.py @@ -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 -- GitLab