From 84f243f665a00a6e6b04bda8cc0b8b9bde042821 Mon Sep 17 00:00:00 2001 From: Tor Erlend Fjelde Date: Thu, 27 Jun 2024 20:23:43 +0100 Subject: [PATCH] Relaxed HMC tests a bit --- test/mcmc/hmc.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/mcmc/hmc.jl b/test/mcmc/hmc.jl index c802f8d9e7..968f24d7b7 100644 --- a/test/mcmc/hmc.jl +++ b/test/mcmc/hmc.jl @@ -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