moble / SphericalFunctions.jl

Spherical functions of arbitrary float types
MIT License
9 stars 2 forks source link

sYlm_values(::Float64, ::Float64, ::Int, ::Int) not working! #40

Closed moble closed 4 months ago

moble commented 4 months ago

It returns all zeros:

julia> using SphericalFunctions

julia> sYlm_values(0.0, 0.0, 3, -2)
12-element Vector{ComplexF64}:
  0.0 + 0.0im
 -0.0 + 0.0im
  0.0 + 0.0im
  0.0 + 0.0im
  0.0 + 0.0im
  0.0 + 0.0im
 -0.0 + 0.0im
 -0.0 + 0.0im
  0.0 + 0.0im
  0.0 + 0.0im
  0.0 + 0.0im
  0.0 - 0.0im