Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
abhirup-m committed Nov 7, 2024
1 parent 0a7ee24 commit 47d12ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modelHamiltonians.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function KondoModel(
hamiltonian = Tuple{String, Vector{Int64}, Float64}[]

# kinetic energy
for site in 1:(numBathSites-1)
for site in 1:numBathSites
push!(hamiltonian, ("n", [1 + 2 * site], dispersion[site])) # up spin
push!(hamiltonian, ("n", [2 + 2 * site], dispersion[site])) # down spin
end
Expand Down

0 comments on commit 47d12ac

Please sign in to comment.