Skip to content

Commit

Permalink
deprecate TransformedLogDensity
Browse files Browse the repository at this point in the history
In preparation for #89.
  • Loading branch information
tpapp committed Aug 29, 2022
1 parent d3ea261 commit 8947778
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "LogDensityProblems"
uuid = "6fdf6af0-433a-55f7-b3ed-c6c6e0b8df7c"
authors = ["Tamas K. Papp <[email protected]>"]
version = "0.12.0"
version = "0.12.1"

[deps]
ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197"
Expand Down
2 changes: 2 additions & 0 deletions src/LogDensityProblems.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8947778

Please sign in to comment.