Skip to content

Commit b493b54

Browse files
committed
don't override Base.conv, which no longer exists
1 parent 027b49a commit b493b54

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/KernelDensity.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ using Distributions
88
using Optim
99
using Interpolations
1010

11-
import Base: conv
1211
import StatsBase: RealVector, RealMatrix
1312
import Distributions: twoπ, pdf
1413
import FFTW: rfft, irfft

test/bivariate.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ for X in ([0.0], [0.0,0.0], [0.0,0.5], [-0.5:0.1:0.5;])
3232
@test all(k1.density .>= 0.0)
3333
@test sum(k1.density)*step(k1.x)*step(k1.y) 1.0
3434

35-
k2 = conv(k1,kernel_dist(Tuple{D,D}, (0.1,0.1)))
35+
k2 = KernelDensity.conv(k1,kernel_dist(Tuple{D,D}, (0.1,0.1)))
3636
@test isa(k2,BivariateKDE)
3737
@test size(k2.density) == (length(k2.x), length(k2.y))
3838
@test all(k2.density .>= 0.0)

test/univariate.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ for X in ([0.0], [0.0,0.0], [0.0,0.5], [-0.5:0.1:0.5;])
3434
@test all(k1.density .>= 0.0)
3535
@test sum(k1.density)*step(k1.x) 1.0
3636

37-
k2 = conv(k1,kernel_dist(D,0.1))
37+
k2 = KernelDensity.conv(k1,kernel_dist(D,0.1))
3838
@test isa(k2,UnivariateKDE)
3939
@test length(k2.density) == length(k2.x)
4040
@test all(k2.density .>= 0.0)

0 commit comments

Comments
 (0)