Skip to content

Commit eb97a30

Browse files
committed
Fix deprecation warning
1 parent a688ceb commit eb97a30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/univariate.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ UniformWeights(n) = UniformWeights{n}()
7777
Base.sum(x::UniformWeights) = 1.
7878
Base.getindex(x::UniformWeights{N}, i) where {N} = 1/N
7979

80-
const Weights = Union{UniformWeights, RealVector, WeightVec}
80+
const Weights = Union{UniformWeights, RealVector, StatsBase.Weights}
8181

8282

8383
# tabulate data for kde

0 commit comments

Comments
 (0)