Skip to content

Commit 6977dc0

Browse files
committed
Added missing impl for updategid! and ThreadSafeVarInfo (#431)
1 parent 2935493 commit 6977dc0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "DynamicPPL"
22
uuid = "366bfd00-2699-11ea-058f-f148b4cae6d8"
3-
version = "0.21.0"
3+
version = "0.21.1"
44

55
[deps]
66
AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001"

src/varinfo.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,7 @@ end
12401240
Set `vn`'s `gid` to `Set([spl.selector])`, if `vn` does not have a sampler selector linked
12411241
and `vn`'s symbol is in the space of `spl`.
12421242
"""
1243-
function updategid!(vi::VarInfo, vn::VarName, spl::Sampler)
1243+
function updategid!(vi::VarInfoOrThreadSafeVarInfo, vn::VarName, spl::Sampler)
12441244
if inspace(vn, getspace(spl))
12451245
setgid!(vi, spl.selector, vn)
12461246
end

0 commit comments

Comments
 (0)