Skip to content

Commit

Permalink
Update ComplexElliptic.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
tinatorabi authored Feb 22, 2024
1 parent fc185ab commit f821656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ComplexElliptic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function ellipjc(u, L, flag=false)
u = complex(u)
if !flag
L_= exp(-2 * π * L)
K, Kp = ellipke(L_)[1], ellipke(1-L_)[1]
K, Kp = ellipkkp(L_)[1], ellipkkp(1-L_)[1]
high = imag(u) > Kp / 2
if high
u = im * Kp - u
Expand Down

0 comments on commit f821656

Please sign in to comment.