Skip to content

Conversation

devmotion
Copy link
Member

My take-away from JuliaLang/julia#42899 is that we should use copy instead of deepcopy for RNGs. More generally, based on JuliaLang/julia#42899 (comment) we might also want to use copy for models and samplers (possibly requires defining copy in a few downstream packages).

@sunxd3
Copy link
Member

sunxd3 commented Oct 4, 2024

interesting, thanks David

@devmotion devmotion merged commit fc8cfa6 into master Oct 4, 2024
28 checks passed
@devmotion devmotion deleted the dw/deepcopy branch October 4, 2024 20:40
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.

2 participants