Skip to content

Commit 3765f37

Browse files
committed
have sample use logpdf for now
1 parent 839defd commit 3765f37

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/samplechains/dynamichmc.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ function sample(rng::AbstractRNG,
1313
nsamples::Int=1000,
1414
nchains::Int=4)
1515

16-
(x) = Soss.logdensity(m, x)
16+
(x) = MeasureTheory.logpdf(m, x)
1717
tr = xform(m)
1818

19-
2019
chains = newchain(rng, nchains, config, ℓ, tr)
2120
sample!(chains, nsamples - 1)
2221
return chains

0 commit comments

Comments
 (0)