From 89477785563d92950a1cb4c6055f09f21a70308e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20K=2E=20Papp?= Date: Mon, 29 Aug 2022 12:13:11 +0200 Subject: [PATCH] deprecate TransformedLogDensity In preparation for https://github.com/tpapp/LogDensityProblems.jl/pull/89/. --- Project.toml | 2 +- src/LogDensityProblems.jl | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 6b76c7b..a208a25 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "LogDensityProblems" uuid = "6fdf6af0-433a-55f7-b3ed-c6c6e0b8df7c" authors = ["Tamas K. Papp "] -version = "0.12.0" +version = "0.12.1" [deps] ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197" diff --git a/src/LogDensityProblems.jl b/src/LogDensityProblems.jl index 1e499a0..5472cb8 100644 --- a/src/LogDensityProblems.jl +++ b/src/LogDensityProblems.jl @@ -159,6 +159,8 @@ struct TransformedLogDensity{T <: TransformVariables.AbstractTransform, L} log_density_function::L end +Base.@deprecate_moved TransformedLogDensity "TransformedLogDensities.TransformedLogDensity" + function Base.show(io::IO, ℓ::TransformedLogDensity) print(io, "TransformedLogDensity of dimension $(dimension(ℓ))") end