Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better dispatch on evaluations #75

Open
dehann opened this issue Mar 1, 2021 · 0 comments
Open

Better dispatch on evaluations #75

dehann opened this issue Mar 1, 2021 · 0 comments

Comments

@dehann
Copy link
Member

dehann commented Mar 1, 2021

This and all related ::AbstractArray{<:Real}, also towards AD, e.g.

julia> p1(-2:0.1:2)
ERROR: MethodError: no method matching (::BallTreeDensity)(::StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}})
Closest candidates are:
  (::BallTreeDensity)(::Vector{Float64}) at /home/dehann/.julia/packages/KernelDensityEstimate/Kx5zN/src/DualTree01.jl:438

julia> p3(v')
ERROR: MethodError: no method matching (::BallTreeDensity)(::LinearAlgebra.Adjoint{Float64, Matrix{Float64}})
Closest candidates are:
  (::BallTreeDensity)(::Vector{Float64}) at /home/dehann/.julia/packages/KernelDensityEstimate/Kx5zN/src/DualTree01.jl:438
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant