Skip to content

Commit

Permalink
Merge pull request #49 from davidanthoff/fix-deprecation
Browse files Browse the repository at this point in the history
Fix deprecation warning
  • Loading branch information
andreasnoack authored Jan 31, 2018
2 parents a688ceb + eb97a30 commit bf4191d
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 bf4191d

Please sign in to comment.