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