Skip to content

Commit

Permalink
clean up cluster hamiltonian for RMF
Browse files Browse the repository at this point in the history
  • Loading branch information
annamariadziubyna committed Nov 21, 2023
1 parent f54b926 commit 653ccd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clustered_hamiltonian.jl
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ function clustered_hamiltonian(fname::String, Nx::Integer = 240, Ny::Integer = 3
if length(index) == 2
y, x = index
Eng = functions[value]'
sp = Spectrum(collect(Eng), [collect(1:8), collect(1:8)], zeros(1))
sp = Spectrum(collect(Eng), Vector{Vector{Int}}[], zeros(1))
set_props!(cl_h, (x+1, y+1), Dict(:spectrum => sp))
elseif length(index) == 4
y1, x1, y2, x2 = index
Expand Down

0 comments on commit 653ccd9

Please sign in to comment.