Skip to content

Commit

Permalink
Relaxed HMC tests a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
torfjelde committed Jun 27, 2024
1 parent 605fbfb commit 84f243f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/mcmc/hmc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ using Turing

# The discrepancies in the chains are in the tails, so we can't just compare the mean, etc.
# KS will compare the empirical CDFs, which seems like a reasonable thing to do here.
@test pvalue(ApproximateTwoSampleKSTest(vec(results), vec(results_prior))) > 0.01
@test pvalue(ApproximateTwoSampleKSTest(vec(results), vec(results_prior))) > 0.001
end
end

Expand Down

0 comments on commit 84f243f

Please sign in to comment.