Skip to content

Commit

Permalink
debugged sign
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosP24 committed May 30, 2024
1 parent eabc26b commit fb80902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/LP_usadel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function pairbreaking(Φ, n, Δ0, ξd, R, d)
end

function ps_sign(x)
return real(x) < 0 ? -1 : 1
return real(x) < 0 ? -1.0 + imag(x)*im*1.0 : 1.0 + imag(x)*im*1.0
end

function uUsadel(Δ0, Λ, ω)
Expand Down

0 comments on commit fb80902

Please sign in to comment.