Skip to content

Commit

Permalink
improved PDVecBijector AD tests a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
torfjelde committed Aug 7, 2023
1 parent 4f1ecc8 commit e87a2aa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/ad/pd.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
_topd(x) = x * x' + I

@testset "AD for PD bijector" begin
@testset "AD for PDVecBijector" begin
d = 4
dist = Wishart(4, Matrix{Float64}(Distributions.I, d, d))
b = bijector(dist)
b = Bijectors.PDVecBijector()
binv = inverse(b)

z = randn(d, d)
Expand Down

0 comments on commit e87a2aa

Please sign in to comment.