Skip to content
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

Fix https://github.com/TuringLang/DynamicPPL.jl/issues/27 #1076

Merged
merged 3 commits into from
Jan 16, 2020

Conversation

devmotion
Copy link
Member

This PR fixes TuringLang/DynamicPPL.jl#27.

TuringLang/DistributionsAD.jl#19 is not needed to resolve the issue, the problem was just that the dimension of multivariate distributions was not checked with length but with dim (which I think is mostly used by PDMat and some matrixvariate distributions (even though it's not part of the official interface)).

@yebai yebai merged commit f91cbc2 into TuringLang:master Jan 16, 2020
@devmotion devmotion deleted the fix_dim branch January 16, 2020 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

.~ is broken for MvNormal
2 participants