Skip to content

Commit cd12772

Browse files
authored
Merge pull request #5 from TuringLang/mt/multinomial_fix
Fix Multinomial test
2 parents 14b75e3 + cdcfe19 commit cd12772

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/runtests.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,7 @@ separator()
169169
@testset "Multivariate discrete distributions" begin
170170
test_head("Testing: Multivariate discrete distributions")
171171
mult_disc_dists = [
172-
]
173-
broken_mult_disc_dists = [
174-
# Dispatch error caused by lack of type parameters in Distributions.Multinomial
175-
DistSpec(:((p) -> Multinomial(4, p)), (fill(0.25, 4),), 1),
172+
DistSpec(:((p) -> Multinomial(2, p / sum(p))), (fill(0.5, 2),), [2, 0]),
176173
]
177174
for d in mult_disc_dists
178175
test_info(d.name)

0 commit comments

Comments
 (0)