Skip to content

Commit c87dc0a

Browse files
committed
Fix tests
1 parent aaeac98 commit c87dc0a

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

Project.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@ julia = "1"
2323
MCMCChains = "c7f686f2-ff18-58e9-bc7b-31028e88f75d"
2424
StructArrays = "09ab397b-f2b6-538f-b94a-2f83cf4a842a"
2525
Turing = "fce5fe82-541a-59a6-adf8-730c64b5f9a0"
26+
27+
[targets]
28+
test = ["StructArrays", "MCMCChains"]

src/AdvancedMH.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import AbstractMCMC: step!, AbstractSampler, AbstractTransition,
1111
transition_type, bundle_samples
1212

1313
# Exports
14-
export MetropolisHastings, DensityModel, sample, psample, RWMH, StaticMH, Proposal
14+
export MetropolisHastings, DensityModel, sample, psample, RWMH, StaticMH, Proposal, Static, RandomWalk
1515

1616
# Abstract type for MH-style samplers.
1717
abstract type Metropolis <: AbstractSampler end

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ using Random
44
using Distributions
55
using Random
66
using StructArrays
7+
using MCMCChains
78

89
@testset "AdvancedMH" begin
910
# Set a seed

0 commit comments

Comments
 (0)