diff --git a/Project.toml b/Project.toml index 0585d3856..4e4eb4cac 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "DynamicPPL" uuid = "366bfd00-2699-11ea-058f-f148b4cae6d8" -version = "0.23.4" +version = "0.23.5" [deps] AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001" diff --git a/src/utils.jl b/src/utils.jl index b1076daf4..abd7b9da0 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -243,6 +243,12 @@ function reconstruct( return copy(val) end +function reconstruct( + ::Inverse{Bijectors.PDVecBijector}, ::MatrixDistribution, val::AbstractVector +) + return copy(val) +end + # TODO: Implement no-op `reconstruct` for general array variates. reconstruct(d::Distribution, val::AbstractVector) = reconstruct(size(d), val)