Skip to content

Commit

Permalink
Fix deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
davidanthoff committed Jan 2, 2018
1 parent a688ceb commit eb97a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/univariate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ UniformWeights(n) = UniformWeights{n}()
Base.sum(x::UniformWeights) = 1.
Base.getindex(x::UniformWeights{N}, i) where {N} = 1/N

const Weights = Union{UniformWeights, RealVector, WeightVec}
const Weights = Union{UniformWeights, RealVector, StatsBase.Weights}


# tabulate data for kde
Expand Down

0 comments on commit eb97a30

Please sign in to comment.