Skip to content

Commit

Permalink
Update calcBerryPhase.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
KskAdch committed Oct 18, 2023
1 parent 24f0ab4 commit 115b49a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/calcBerryPhase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ end
# TopologicalNumber .= [abs(rem(round(Int, TN[i] / pi), 2)) for i in 1:Hs]
# end

# @views function L!(phi, Link, p::Params) # lattice field strength
# @unpack N, Hs = p

# phi .= angle.(Link)
# end
@views function L!(phi, Link, p::Params) # lattice field strength
@unpack N, Hs = p
phi .= angle.(Link)
end

@views function BerryPhase!(TopologicalNumber, p::Params) # berry phase
@unpack N, Hs = p
Expand Down

0 comments on commit 115b49a

Please sign in to comment.