Skip to content

Commit

Permalink
fix test breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
ptiede committed Feb 21, 2024
1 parent 37270c6 commit 5a5cd8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Core/bayes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ using Zygote
show(post)
show(tpostf)
show(tpostc)
tpost = Comrade.flatten(post)
# tpost = Comrade.flatten(post)

ndim = dimension(post)
@inferred logdensityof(post, prior_sample(post))
@inferred logdensityof(tpostf, rand(ndim))
@inferred logdensityof(tpostc, rand(ndim))


@test dimension(post) == dimension(tpost)
# @test dimension(post) == dimension(tpost)
@test dimension(post) == dimension(tpostf)
@test dimension(post) == dimension(tpostc)

Expand Down

0 comments on commit 5a5cd8d

Please sign in to comment.