Skip to content

Commit

Permalink
Drop unnecessary depwarn + fix Turing tests (TuringLang#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 and Alexey Stukalov committed Mar 21, 2023
1 parent 038a4e3 commit b7fbb5d
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

0 comments on commit b7fbb5d

Please sign in to comment.