Skip to content

Commit 73d3790

Browse files
authored
Merge pull request #524 from deoxyribose/master
Fix dirichlet type
2 parents e7c5571 + fe40011 commit 73d3790

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modeling_library/distributions/dirichlet.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
struct Dirichlet <: Distribution{Float64} end
1+
struct Dirichlet <: Distribution{Vector{Float64}} end
22

33
"""
4-
Dirichlet(alpha::Vector{Float64})
4+
dirichlet(alpha::Vector{Float64})
55
66
Sample a simplex Vector{Float64} from a Dirichlet distribution.
77
"""

0 commit comments

Comments
 (0)