Skip to content

Commit

Permalink
Added missing impl for updategid! and ThreadSafeVarInfo (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
torfjelde committed Nov 7, 2022
1 parent 2935493 commit 6977dc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "DynamicPPL"
uuid = "366bfd00-2699-11ea-058f-f148b4cae6d8"
version = "0.21.0"
version = "0.21.1"

[deps]
AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001"
Expand Down
2 changes: 1 addition & 1 deletion src/varinfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,7 @@ end
Set `vn`'s `gid` to `Set([spl.selector])`, if `vn` does not have a sampler selector linked
and `vn`'s symbol is in the space of `spl`.
"""
function updategid!(vi::VarInfo, vn::VarName, spl::Sampler)
function updategid!(vi::VarInfoOrThreadSafeVarInfo, vn::VarName, spl::Sampler)
if inspace(vn, getspace(spl))
setgid!(vi, spl.selector, vn)
end
Expand Down

2 comments on commit 6977dc0

@torfjelde
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/71848

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.21.1 -m "<description of version>" 6977dc078f0c5e519176e8a6b75b19055cb68f36
git push origin v0.21.1

Please sign in to comment.