-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
sample method modifies start dictionary #4456
Comments
@lhelleckes , need a little more information, |
Yes, I am pretty sure that's it. We should make a copy before @chandan5362 Do you want to make a PR? |
|
The main factor behind this issue (for both |
Wouldn't it be enough to just re-create the dict like But you can't do that in |
You also have to handle the case where you have a list of dictionaries (one per chain) |
When specifying
start
in thesample
method, the provided dictionary is modifiedCode example
Output
Expected behaviour
The method should edit a copy of the original dictionary for reproducibility.
Versions and main components
The text was updated successfully, but these errors were encountered: