Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
odunbar committed Aug 20, 2024
1 parent e29ff5b commit 35f0e15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MarkovChainMonteCarlo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -612,8 +612,8 @@ function get_posterior(mcmc::MCMCWrapper, chain::MCMCChains.Chains)
p_constraints = [
!isa(get_distribution(mcmc.prior)[pn],ParameterDistribution) ? # if not func-dist
flat_constraints[slice] : # constraints are slice
get_all_constraints(get_distribution(mcmc.prior)[ps]) # get constraints of nested dist
for (pn,slice) in zip(p_names, p_slices)
get_all_constraints(get_distribution(mcmc.prior)[pn]) # get constraints of nested dist
for (pn, slice) in zip(p_names, p_slices)
]

# distributions created as atoms and pieced together
Expand Down

0 comments on commit 35f0e15

Please sign in to comment.