Skip to content

Commit

Permalink
Drop unnecessary depwarn + fix Turing tests (#433)
Browse files Browse the repository at this point in the history
* drop unnecessary depwarn from _link!

* bump patch version
  • Loading branch information
torfjelde authored Nov 11, 2022
1 parent b2ad13c commit 217b8cc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 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.2"
version = "0.21.3"

[deps]
AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001"
Expand Down
4 changes: 0 additions & 4 deletions src/varinfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -759,10 +759,6 @@ function _link!(vi::UntypedVarInfo, spl::Sampler)
end
end
function _link!(vi::TypedVarInfo, spl::AbstractSampler)
Base.depwarn(
"`link!(varinfo, sampler)` is deprecated, use `link!!(varinfo, sampler, model)` instead.",
:link!,
)
return _link!(vi, spl, Val(getspace(spl)))
end
function _link!(vi::TypedVarInfo, spl::AbstractSampler, spaceval::Val)
Expand Down

2 comments on commit 217b8cc

@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/72073

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.3 -m "<description of version>" 217b8cc3a0fbee96049b90a53f5db9f2a586ba96
git push origin v0.21.3

Please sign in to comment.