From 6ebfd21aa6b7bb60653deec979d152ce17308d84 Mon Sep 17 00:00:00 2001
From: antoniolrm <am@antoniomanesco.org>
Date: Wed, 25 Oct 2023 00:15:16 +0200
Subject: [PATCH] fix typo

---
 codes/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/codes/utils.py b/codes/utils.py
index b513320..8b90e5c 100644
--- a/codes/utils.py
+++ b/codes/utils.py
@@ -63,7 +63,7 @@ def kwant2hk(syst, params={}, coordinate_names="xyz"):
 def builder2tb_model(builder):
     from copy import copy
 
-    builder = copy(bulk_graphene)
+    builder = copy(builder)
 
     tb_model = {}
     sites_list = [*builder.sites()]
-- 
GitLab