From 09d84d36a26ffe0378c8f9244ea7b98f6db104dc Mon Sep 17 00:00:00 2001
From: Pablo Piskunow <pablo.perez.piskunow@gmail.com>
Date: Fri, 22 Feb 2019 17:43:38 +0100
Subject: [PATCH] fix memory issue when building docs, closes #276

---
 doc/source/code/figure/kernel_polynomial_method.py.diff | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/source/code/figure/kernel_polynomial_method.py.diff b/doc/source/code/figure/kernel_polynomial_method.py.diff
index 754b56ba..3ac53251 100644
--- a/doc/source/code/figure/kernel_polynomial_method.py.diff
+++ b/doc/source/code/figure/kernel_polynomial_method.py.diff
@@ -316,7 +316,7 @@
      # construct the Haldane model
      lat, fsyst = make_syst_topo()
      # find 'A' and 'B' sites in the unit cell at the center of the disk
-     where = lambda s: np.linalg.norm(s.pos) < 3
+     where = lambda s: np.linalg.norm(s.pos) < 1
  
      # component 'xx'
      s_factory = kwant.kpm.LocalVectors(fsyst, where)
-- 
GitLab