Closed rikhuijzer closed 3 years ago
In the scripts, the variable chains is used all over the place. Unfortunately, chains is also exported by MCMCChains, which can cause issues like
chains
MCMCChains
julia> chains = sample(model(a, b), NUTS(0.65), 1000) ERROR: invalid redefinition of constant chains
Thanks to David Widmann for figuring this out (https://github.com/TuringLang/Turing.jl/issues/1529).
To solve this issue, and avoid problems in the future for us and for users, we would be better of renaming the variables to chn or chns or something.
chn
chns
Hi @rikhuijzer I would like to solve this issue 😀
Okay and thanks. I'll won't work on it then :+1: Looking forward to your pull request
Feel free to mail me or comment here if you have any questions
In the scripts, the variable
chains
is used all over the place. Unfortunately,chains
is also exported byMCMCChains
, which can cause issues likeThanks to David Widmann for figuring this out (https://github.com/TuringLang/Turing.jl/issues/1529).
To solve this issue, and avoid problems in the future for us and for users, we would be better of renaming the variables to
chn
orchns
or something.