Skip to content

Commit 3b619f5

Browse files
authored
forgot _DST in front of Beta
1 parent 64e89b8 commit 3b619f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/io/distributions.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ function minimum(dst::ExtendedBeta{T}) where T<:Real
134134
end
135135

136136
rand(dst::ExtendedBeta, N::Int) =
137-
(dst.max - dst.min) .* rand(Beta(dst.α, dst.β), N) .+ dst.min
137+
(dst.max - dst.min) .* rand(_DST.Beta(dst.α, dst.β), N) .+ dst.min
138138

139139
## Gamma
140140
# functions
@@ -173,4 +173,4 @@ function heslogpdf(d::_GMM.GMM{Float64,Array{Float64,2}}, x::Real)
173173
sum([γ[i]*_DST.pdf(g[i],x) for i in 1:d.n])
174174
- ( sum([-γ[i]*(x-μ[i])*_DST.pdf(g[i],x)*σ[i]^(-2) for i in 1:d.n])^2/
175175
sum([γ[i]*_DST.pdf(g[i],x) for i in 1:d.n]) )
176-
end
176+
end

0 commit comments

Comments
 (0)