Skip to content

Commit

Permalink
missing method
Browse files Browse the repository at this point in the history
  • Loading branch information
pablosanjose committed Nov 21, 2024
1 parent 752c677 commit 6509688
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/meanfield.jl
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ function call!(m::MeanField{B}, args...; chopsmall = true, params...) where {B}
return meanfield
end

check_zero_mu(_) = nothing
check_zero_mu(m, µ, _...) = !m.nambu || iszero(µ) ||
argerror("Tried to evaluate a Nambu mean field at a nonzero µ = ")

Expand Down

0 comments on commit 6509688

Please sign in to comment.