Skip to content

Commit

Permalink
Fix test case to work around upstream issue in Distributions.jl.
Browse files Browse the repository at this point in the history
  • Loading branch information
ztangent committed Jun 3, 2021
1 parent 6844071 commit a07c46b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/primitives.jl
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ end
@testset "rand(::Distributions.Distribution) statements" begin

function foo(dims...)
a = rand(Dirichlet(5, 2))
a = rand(Dirichlet(5, 2.0))
b = rand(Categorical(a))
c = rand(Wishart(b+2, [1.0 0.0; 0.0 1.0]))
d = rand(Normal(0, 1), dims...)
Expand Down

0 comments on commit a07c46b

Please sign in to comment.