Skip to content

Commit bf4191d

Browse files
authored
Merge pull request #49 from davidanthoff/fix-deprecation
Fix deprecation warning
2 parents a688ceb + eb97a30 commit bf4191d

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)