EllipticFunctions.jl
EllipticFunctions.jl copied to clipboard
Strange assertion error
Hi I just downloaded your nice package and I am immediately running into trouble when trying to evaluate a simple computation.
[julia> EllipticFunctions.jtheta_ab(0.0,0.0,0,1.0*im)
ERROR: AssertionError: ArgumentError("Invalid `q`.")
Stacktrace:
[1] jtheta_ab(a::Float64, b::Float64, z::Int64, q::ComplexF64)
@ EllipticFunctions ~/.julia/packages/EllipticFunctions/SVjra/src/EllipticFunctions.jl:554
[2] top-level scope
@ REPL[8]:1
Any idea of what's going on? Thanks!
The final argument is q which must be strictly less than 1 in magnitude. Note that in the next release of the package this argument definition has been changed to to be tau, which must be complex with positive imaginary part. However, this change has not yet been released. If you wish, you may install the "master" branch to have this change in force.
Got it! Many thanks!