Skip to content

Commit 39c2f21

Browse files
committed
Add a couple of issue references
1 parent 7d6a983 commit 39c2f21

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/mcmc/gibbs.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,7 @@ function match_linking!!(varinfo_local, prev_state_local, model)
571571
# variables. The below is how I would like to implement this, but DynamicPPL at this
572572
# time does not support linking individual variables selected by `VarName`. It soon
573573
# should though, so come back to this.
574+
# Issue ref: https://github.com/TuringLang/Turing.jl/issues/2401
574575
# prev_links_dict = Dict(vn => DynamicPPL.istrans(prev_varinfo_local, vn) for vn in keys(prev_varinfo_local))
575576
# any_linked = any(values(prev_links_dict))
576577
# for vn in keys(varinfo_local)

test/mcmc/gibbs.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,7 @@ end
463463
# TODO(mhauru) Could we do something smarter here? Maybe a dynamic model for which
464464
# the posterior is analytically known? Doing 10_000 samples to run the test suite
465465
# is not ideal
466+
# Issue ref: https://github.com/TuringLang/Turing.jl/issues/2402
466467
@test isapprox(mean(num_ms), 8.6087; atol=0.5)
467468
@test isapprox(std(num_ms), 1.8865; atol=0.02)
468469
end

0 commit comments

Comments
 (0)