File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,15 @@ function InterpKDE(kde::UnivariateKDE, opts...)
12
12
itp = scale (itp_u, kde. x)
13
13
InterpKDE {typeof(kde),typeof(itp)} (kde, itp)
14
14
end
15
- InterpKDE (kde:: UnivariateKDE ) = InterpKDE (kde, BSpline (Quadratic (Line ())), OnGrid ( ))
15
+ InterpKDE (kde:: UnivariateKDE ) = InterpKDE (kde, BSpline (Quadratic (Line (OnGrid ( )))))
16
16
17
17
18
18
function InterpKDE (kde:: BivariateKDE , opts... )
19
19
itp_u = interpolate (kde. density,opts... )
20
20
itp = scale (itp_u, kde. x, kde. y)
21
21
InterpKDE {typeof(kde),typeof(itp)} (kde, itp)
22
22
end
23
- InterpKDE (kde:: BivariateKDE ) = InterpKDE (kde:: BivariateKDE , BSpline (Quadratic (Line ())), OnGrid ( ))
23
+ InterpKDE (kde:: BivariateKDE ) = InterpKDE (kde:: BivariateKDE , BSpline (Quadratic (Line (OnGrid ( )))))
24
24
25
25
pdf (ik:: InterpKDE ,x:: Real... ) = ik. itp (x... )
26
26
pdf (ik:: InterpKDE ,xs:: AbstractVector ) = [ik. itp (x) for x in xs]
You can’t perform that action at this time.
0 commit comments