From f527669d91a26e884c7857c32f2089f62186a924 Mon Sep 17 00:00:00 2001 From: Xianda Sun <5433119+sunxd3@users.noreply.github.com> Date: Mon, 18 Dec 2023 16:10:12 +0000 Subject: [PATCH] Update deprecated.jl (#2147) Fix wrong message --- src/deprecated.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deprecated.jl b/src/deprecated.jl index 09ef16e62..702765487 100644 --- a/src/deprecated.jl +++ b/src/deprecated.jl @@ -9,7 +9,7 @@ function setchunksize(::Int) end function setrdcache(::Bool) - Base.depwarn("`RDCACHE` and `setrdcache` are deprecated. Please specify the chunk size directly in the sampler constructor, e.g., `HMC(0.1, 5; adtype=AutoReverseDiff(false))`.\n This function has no effects.", :setrdcache; force=true) + Base.depwarn("`RDCACHE` and `setrdcache` are deprecated. Please specify if you wish to use compiled tape for ReverseDiff directly in the sampler constructor, e.g., `HMC(0.1, 5; adtype=AutoReverseDiff(false))`.\n This function has no effects.", :setrdcache; force=true) nothing end