From 55190de3fe34722b880a643f97341c4152d0d5d2 Mon Sep 17 00:00:00 2001 From: marius Date: Mon, 24 Jan 2022 19:14:33 -0800 Subject: [PATCH] fix deps / tests --- Project.toml | 1 + test/runtests.jl | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index d61c254d..485b1371 100644 --- a/Project.toml +++ b/Project.toml @@ -66,6 +66,7 @@ ChainRules = "1.5" Combinatorics = "1" CompositeStructs = "0.1.1" DataStructures = "0.17.9, 0.18" +Distributions = "0.25" EllipsisNotation = "1.1.0" FFTW = "1.4" FileIO = "1.2.2" diff --git a/test/runtests.jl b/test/runtests.jl index a9ca5cea..7e4c04bc 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -597,8 +597,8 @@ end δf,δϕ = simulate(Cf), simulate(Cϕ) - @test_real_gradient(α -> logpdf( ds; f = f + α * δf, ϕ = ϕ + α * δϕ), 0, atol=2) - @test_real_gradient(α -> logpdf(Mixed(ds); f° = f° + α * δf, ϕ° = ϕ° + α * δϕ), 0, atol=2) + @test_real_gradient(α -> logpdf( ds; f = f + α * δf, ϕ = ϕ + α * δϕ), 0, atol=3) + @test_real_gradient(α -> logpdf(Mixed(ds); f° = f° + α * δf, ϕ° = ϕ° + α * δϕ), 0, atol=3) end