-
Notifications
You must be signed in to change notification settings - Fork 230
more test fixes #2491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
more test fixes #2491
Changes from all commits
b21bc4b
fe46018
f83d695
68ceb39
71547c9
62ab4b1
48dac18
56997c1
ef7328f
7c32e3e
cb95ee1
ea00f86
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -512,7 +512,7 @@ using Turing | |
|
|
||
| @model function vdemo2(x) | ||
| μ ~ MvNormal(zeros(size(x, 1)), I) | ||
| return x .~ MvNormal(μ, I) | ||
| return x ~ filldist(MvNormal(μ, I), size(x, 2)) | ||
| end | ||
|
|
||
| D = 2 | ||
|
|
@@ -560,7 +560,7 @@ using Turing | |
|
|
||
| @model function vdemo7() | ||
| x = Array{Real}(undef, N, N) | ||
| return x .~ [InverseGamma(2, 3) for i in 1:N] | ||
| return x ~ filldist(InverseGamma(2, 3), N, N) | ||
|
Comment on lines
561
to
+563
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm kind of unsure as to whether we really need to keep the |
||
| end | ||
|
|
||
| sample(StableRNG(seed), vdemo7(), alg, 10) | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
setmodeltechnically still exists, but it doesn't take theadtypeargument anymore, and i think it's clearer to reconstruct the LDF (which is whatsetmodeldoes anyway)