We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
reconstruct
Inverse{PDVecBijector}
1 parent 446f06d commit 74849d4Copy full SHA for 74849d4
Project.toml
@@ -1,6 +1,6 @@
1
name = "DynamicPPL"
2
uuid = "366bfd00-2699-11ea-058f-f148b4cae6d8"
3
-version = "0.23.4"
+version = "0.23.5"
4
5
[deps]
6
AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001"
src/utils.jl
@@ -243,6 +243,12 @@ function reconstruct(
243
return copy(val)
244
end
245
246
+function reconstruct(
247
+ ::Inverse{Bijectors.PDVecBijector}, ::MatrixDistribution, val::AbstractVector
248
+)
249
+ return copy(val)
250
+end
251
+
252
# TODO: Implement no-op `reconstruct` for general array variates.
253
254
reconstruct(d::Distribution, val::AbstractVector) = reconstruct(size(d), val)
0 commit comments