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

Implementation of shared variables #71

Open
jong42 opened this issue Sep 23, 2019 · 0 comments
Open

Implementation of shared variables #71

jong42 opened this issue Sep 23, 2019 · 0 comments
Assignees
Labels
invalid This doesn't seem right PPL

Comments

@jong42
Copy link
Collaborator

jong42 commented Sep 23, 2019

Currently, when a model is copied, each instance has access to the same shared variables object. That means, when the shared variables for one model are changed, the shared variables of each derived model are also changed. This behaviour is impractical and should be changed so that each copied model has its own shared variables. I already tried to fix that a number of times and I did not find a way to do it once the model was specified. A solution could be to create a full new model when copying, so that the new model has other shared variables than the original one. Maybe do it by giving a function that creates the model?

@jong42 jong42 added invalid This doesn't seem right PPL labels Sep 23, 2019
@jong42 jong42 self-assigned this Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right PPL
Projects
None yet
Development

No branches or pull requests

1 participant