Skip to content

Commit

Permalink
added TODO so we don't forget
Browse files Browse the repository at this point in the history
  • Loading branch information
torfjelde committed Nov 1, 2024
1 parent 6f13b77 commit 5d870e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/DynamicPPLMCMCChainsExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ function DynamicPPL.generated_quantities(
varinfo = DynamicPPL.VarInfo(model)
iters = Iterators.product(1:size(chain, 1), 1:size(chain, 3))
return map(iters) do (sample_idx, chain_idx)
# TODO: Use `fix` once we've addressed https://github.com/TuringLang/DynamicPPL.jl/issues/702.
# Update the varinfo with the current sample and make variables not present in `chain`
# to be sampled.
DynamicPPL.setval_and_resample!(varinfo, chain, sample_idx, chain_idx)
Expand Down

0 comments on commit 5d870e9

Please sign in to comment.