Skip to content
Snippets Groups Projects
Commit 31d31bd2 authored by Johanna Zijderveld's avatar Johanna Zijderveld
Browse files

fix test after rename of n in utils

parent 3df7663f
No related branches found
No related tags found
1 merge request!4Interface refactoring
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment