Skip to content

Commit

Permalink
Fix bug in chain length
Browse files Browse the repository at this point in the history
  • Loading branch information
ptiede committed Sep 23, 2024
1 parent ac5c63c commit 5decaad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/intermediate/StokesIImaging/main.jl
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ chain = sample(rng, post, NUTS(0.8), 1_000; adtype=AutoEnzyme(;mode=Enzyme.Rever


# Now we prune the adaptation phase
chain = chain[1_001:end]
chain = chain[501:end]

#-
# !!! warning
Expand Down

0 comments on commit 5decaad

Please sign in to comment.