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

Add concretize before generating Chains #1180

Merged
merged 4 commits into from
Mar 26, 2020
Merged

Add concretize before generating Chains #1180

merged 4 commits into from
Mar 26, 2020

Conversation

cpfiffer
Copy link
Member

Uses MCMCChains.concretize to determine type better. This fixes a bug in the infinite mixture tutorial.

I also switched us over to using import MCMCChains rather than using, since we only really use two things from that package (Chains and concretize).

Project.toml Outdated Show resolved Hide resolved
Copy link
Member

@devmotion devmotion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, maybe just add the example you had to the tests.

Co-Authored-By: David Widmann <devmotion@users.noreply.github.com>
@cpfiffer
Copy link
Member Author

I added the test. The RandomMeasures.jl tests weren't previously being run (see #973), so I commented them out but added the infinite GMM model.

@trappmartin
Copy link
Member

Thanks!

@cpfiffer cpfiffer merged commit 83d6059 into master Mar 26, 2020
@delete-merged-branch delete-merged-branch bot deleted the csp/concretize branch March 26, 2020 18:39
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.

3 participants