From 31d31bd25994ed96bd275dcb5d159ed09c19d830 Mon Sep 17 00:00:00 2001
From: Johanna <johanna@zijderveld.de>
Date: Mon, 15 Apr 2024 15:50:28 +0200
Subject: [PATCH] fix test after rename of n in utils

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

diff --git a/codes/test_graphene.py b/codes/test_graphene.py
index 9ff39c0..f2df652 100644
--- a/codes/test_graphene.py
+++ b/codes/test_graphene.py
@@ -50,7 +50,7 @@ def gap_prediction(U, V):
     model = Model(h_0, h_int, filling)
 
     mf_sol = solver(model, guess, nk=nk, optimizer_kwargs={"verbose": True, "M": 0})
-    gap = compute_gap(add_tb(h_0, mf_sol), n=100)
+    gap = compute_gap(add_tb(h_0, mf_sol), nk=100)
 
     # Check if the gap is predicted correctly
     if gap > 0.1:
-- 
GitLab