We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd7723e commit eee2128Copy full SHA for eee2128
src/interp.jl
@@ -26,7 +26,7 @@ InterpKDE(kde::BivariateKDE) = InterpKDE(kde::BivariateKDE, BSpline(Quadratic(Li
26
pdf(k::UnivariateKDE,x) = pdf(InterpKDE(k),x)
27
pdf(ik::InterpKDE,x::Real...) = ik.itp(x...)
28
pdf(ik::InterpKDE,xs::AbstractVector) = [ik.itp(x) for x in xs]
29
-Base.broadcasted(::typeof(pdf),k::UnivariateKDE,xs) = InterpKDE(k).itp.(xs)
+Base.broadcast(::typeof(pdf),k::UnivariateKDE,xs) = InterpKDE(k).itp.(xs)
30
31
pdf(k::BivariateKDE,x,y) = pdf(InterpKDE(k),x,y)
32
pdf(ik::InterpKDE,xs::AbstractVector,ys::AbstractVector) = [ik.itp(x,y) for x in xs, y in ys]
0 commit comments