Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Distributions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ using StatsFuns
using StatsBase
using Compat
import Compat.MathConstants: γ
using Compat.Printf # For @printf, which has moved to Stdlib.printf

import QuadGK.quadgk
import Compat.view
Expand All @@ -16,7 +17,7 @@ import Base: sum, mean, median, maximum, minimum, quantile, std, var, cov, cor
import Base: +, -
import Base.Math.@horner
import Base.LinAlg: Cholesky
import Base.Random: GLOBAL_RNG, RangeGenerator, RangeGeneratorInt
import Base.Random: GLOBAL_RNG, RangeGenerator

if isdefined(Base, :scale)
import Base: scale
Expand Down
2 changes: 1 addition & 1 deletion src/samplers/categorical.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ end
struct AliasTable <: Sampleable{Univariate,Discrete}
accept::Vector{Float64}
alias::Vector{Int}
isampler::RangeGeneratorInt{Int,UInt}
isampler::Compat.Random.SamplerRangeInt{Int,UInt}
end
ncategories(s::AliasTable) = length(s.accept)

Expand Down