Skip to content

Commit

Permalink
Update src/mcmc/Inference.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
penelopeysm and github-actions[bot] authored Jan 21, 2025
1 parent 16003d0 commit abc1f9b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mcmc/Inference.jl
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,9 @@ julia> [first(t.θ.x) for t in transitions] # extract samples for `x`
[-1.704630494695469]
```
"""
function transitions_from_chain(model::DynamicPPL.Model, chain::MCMCChains.Chains; kwargs...)
function transitions_from_chain(
model::DynamicPPL.Model, chain::MCMCChains.Chains; kwargs...
)
return transitions_from_chain(Random.default_rng(), model, chain; kwargs...)
end

Expand Down

0 comments on commit abc1f9b

Please sign in to comment.