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

Deterministic copies passed variable #3170

Merged
merged 1 commit into from
Aug 28, 2018

Conversation

ColCarroll
Copy link
Member

Fixes #2912

This is a naive replacement for #2991 - from the discussion there, it may miss out on some compiler optimizations, but it is not clear to me how or whether that would be typical.

This does fix the reported problem, as well as the model that I noticed the problem on:

image

Current master (notice all the variables named z):
image

With this change:
image

@junpenglao junpenglao mentioned this pull request Aug 28, 2018
@junpenglao
Copy link
Member

LGTM

@twiecki twiecki merged commit a4f8bd7 into pymc-devs:master Aug 28, 2018
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.

Incorrect names for multiple identical deterministics
3 participants