Skip to content

Commit c28856e

Browse files
committed
Export sample, MCMCThreads, and MCMCDistributed
1 parent 9da6965 commit c28856e

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/AbstractMCMC.jl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,19 @@ import ConsoleProgressMonitor
44
import LoggingExtras
55
import ProgressLogging
66
import StatsBase
7-
using StatsBase: sample
87
import TerminalLoggers
98

109
import Distributed
1110
import Logging
1211
import Random
1312

13+
# Reexport sample
14+
using StatsBase: sample
15+
export sample
16+
17+
# Parallel sampling types
18+
export MCMCThreads, MCMCDistributed
19+
1420
"""
1521
AbstractChains
1622

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using AbstractMCMC
2-
using AbstractMCMC: sample, MCMCThreads, MCMCDistributed, steps!
2+
using AbstractMCMC: steps!
33
using Atom.Progress: JunoProgressLogger
44
using ConsoleProgressMonitor: ProgressLogger
55
using IJulia

0 commit comments

Comments
 (0)