Skip to content

Commit

Permalink
fix tests: Multinomial is immutable
Browse files Browse the repository at this point in the history
  • Loading branch information
aviks committed Apr 7, 2013
1 parent dbc3b81 commit 0acdd9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Distributions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pmf(d, [0, 1])
logpmf(d, [1, 0])
logpmf(d, [1, 1])
logpmf(d, [0, 1])
d.n = 10
d = Multinomial(10)
rand(d)
A = zeros(Int, 2, 10)
rand!(d, A)
Expand Down

0 comments on commit 0acdd9d

Please sign in to comment.