Skip to content

Commit

Permalink
Merge pull request #5 from TuringLang/mt/multinomial_fix
Browse files Browse the repository at this point in the history
Fix Multinomial test
  • Loading branch information
mohamed82008 authored Oct 31, 2019
2 parents 14b75e3 + cdcfe19 commit cd12772
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,7 @@ separator()
@testset "Multivariate discrete distributions" begin
test_head("Testing: Multivariate discrete distributions")
mult_disc_dists = [
]
broken_mult_disc_dists = [
# Dispatch error caused by lack of type parameters in Distributions.Multinomial
DistSpec(:((p) -> Multinomial(4, p)), (fill(0.25, 4),), 1),
DistSpec(:((p) -> Multinomial(2, p / sum(p))), (fill(0.5, 2),), [2, 0]),
]
for d in mult_disc_dists
test_info(d.name)
Expand Down

0 comments on commit cd12772

Please sign in to comment.