Skip to content

Commit f9fe8d1

Browse files
committed
Drop unnecessary depwarn + fix Turing tests (#433)
This PR fixes the performance regressions seen for `Emcee` in TuringLang/Turing.jl#1900. @yebai @devmotion This should be an easy merge.
1 parent b2ad13c commit f9fe8d1

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
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.2"
3+
version = "0.21.3"
44

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

src/varinfo.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -759,10 +759,6 @@ function _link!(vi::UntypedVarInfo, spl::Sampler)
759759
end
760760
end
761761
function _link!(vi::TypedVarInfo, spl::AbstractSampler)
762-
Base.depwarn(
763-
"`link!(varinfo, sampler)` is deprecated, use `link!!(varinfo, sampler, model)` instead.",
764-
:link!,
765-
)
766762
return _link!(vi, spl, Val(getspace(spl)))
767763
end
768764
function _link!(vi::TypedVarInfo, spl::AbstractSampler, spaceval::Val)

0 commit comments

Comments
 (0)