We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e7c5571 + fe40011 commit 73d3790Copy full SHA for 73d3790
src/modeling_library/distributions/dirichlet.jl
@@ -1,7 +1,7 @@
1
-struct Dirichlet <: Distribution{Float64} end
+struct Dirichlet <: Distribution{Vector{Float64}} end
2
3
"""
4
- Dirichlet(alpha::Vector{Float64})
+ dirichlet(alpha::Vector{Float64})
5
6
Sample a simplex Vector{Float64} from a Dirichlet distribution.
7
0 commit comments