File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ uuid = "80f14c24-f653-4e6a-9b94-39d6b0f70001"
3
3
keywords = [" markov chain monte carlo" , " probablistic programming" ]
4
4
license = " MIT"
5
5
desc = " A lightweight interface for common MCMC methods."
6
- version = " 5.1 .0"
6
+ version = " 5.2 .0"
7
7
8
8
[deps ]
9
9
BangBang = " 198e06fe-97b7-11e9-32a5-e1d131e6ad66"
Original file line number Diff line number Diff line change @@ -6,8 +6,10 @@ const PROGRESS = Ref(true)
6
6
7
7
Enable progress logging globally if `progress` is `true`, and disable it otherwise.
8
8
"""
9
- function setprogress! (progress:: Bool )
10
- @info " progress logging is $(progress ? " enabled" : " disabled" ) globally"
9
+ function setprogress! (progress:: Bool ; silent:: Bool = false )
10
+ if ! silent
11
+ @info " progress logging is $(progress ? " enabled" : " disabled" ) globally"
12
+ end
11
13
PROGRESS[] = progress
12
14
return progress
13
15
end
You can’t perform that action at this time.
0 commit comments