Skip to content

Commit

Permalink
Merge pull request #524 from deoxyribose/master
Browse files Browse the repository at this point in the history
Fix dirichlet type
  • Loading branch information
ztangent authored Mar 28, 2024
2 parents e7c5571 + fe40011 commit 73d3790
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modeling_library/distributions/dirichlet.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
struct Dirichlet <: Distribution{Float64} end
struct Dirichlet <: Distribution{Vector{Float64}} end

"""
Dirichlet(alpha::Vector{Float64})
dirichlet(alpha::Vector{Float64})
Sample a simplex Vector{Float64} from a Dirichlet distribution.
"""
Expand Down

0 comments on commit 73d3790

Please sign in to comment.