Skip to content

Commit

Permalink
Update ext/DynamicPPLMCMCChainsExt.jl
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
torfjelde and github-actions[bot] authored Aug 7, 2023
1 parent d98baf8 commit edcac39
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ext/DynamicPPLMCMCChainsExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ module DynamicPPLMCMCChainsExt
using DynamicPPL: DynamicPPL
using MCMCChains: MCMCChains

function DynamicPPL.generated_quantities(
model::DynamicPPL.Model, chain::MCMCChains.Chains
)
function DynamicPPL.generated_quantities(model::DynamicPPL.Model, chain::MCMCChains.Chains)
chain_parameters = MCMCChains.get_sections(chain, :parameters)
varinfo = DynamicPPL.VarInfo(model)
iters = Iterators.product(1:size(chain, 1), 1:size(chain, 3))
Expand Down

0 comments on commit edcac39

Please sign in to comment.