Skip to content
Snippets Groups Projects
Commit 8ef945af authored by Antonio Manesco's avatar Antonio Manesco
Browse files

oops

parent 9c12e30c
No related branches found
No related tags found
No related merge requests found
......@@ -230,7 +230,7 @@ def build_interacting_syst(builder, lattice, func_onsite, func_hop, max_neighbor
int_builder : `kwant.Builder`
Dummy `kwant.Builder` to compute interaction matrix.
"""
int_builder = kwant.Builder(kwant.TranslationalSymmetry(**builder.symmetry.periods))
int_builder = kwant.Builder(kwant.TranslationalSymmetry(*builder.symmetry.periods))
int_builder[builder.sites()] = func_onsite
for neighbors in range(max_neighbor):
int_builder[lattice.neighbors(neighbors + 1)] = func_hop
......
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