Skip to content

Commit

Permalink
Update stuck
Browse files Browse the repository at this point in the history
  • Loading branch information
paschermayr committed Jul 27, 2022
1 parent 833936e commit ec09b12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Baytes"
uuid = "72ddfcfc-6e9d-43df-829b-7aed7c549d4f"
authors = ["Patrick Aschermayr <p.aschermayr@gmail.com>"]
version = "0.1.7"
version = "0.1.8"

[deps]
ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197"
Expand Down
4 changes: 4 additions & 0 deletions src/sampling/chain.jl
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,11 @@ function chainsummary(
## Check if any MCMC sampler was stuck in any chain, in which case chainsummary will be skipped
stuck, paramchain = is_stuck(arr3D)
if stuck
println(
"#####################################################################################",
)
println("Chain is first stuck in (Nparam, Nchain) = ", paramchain, " - skipping chainsummary.")
return nothing
end
## Compute summary statistics
#!NOTE If more than 1 chain used, can use cross-chain diagnostics
Expand Down

2 comments on commit ec09b12

@paschermayr
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/65120

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.8 -m "<description of version>" ec09b12528ad57ed0c101b1eb2d1f2b1353e4537
git push origin v0.1.8

Please sign in to comment.