Skip to content

Commit 3928dfb

Browse files
committed
update tests
1 parent b6ede58 commit 3928dfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/runtests.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -381,15 +381,15 @@ end
381381
@testset "Density measures and Radon-Nikodym" begin
382382
x = randn()
383383
let d = (𝒹(Cauchy(), Normal()), Normal())
384-
@test logdensity(d, Lebesgue(ℝ), x) logdensity(Cauchy(), Lebesgue(ℝ), x)
384+
@test logdensity(d, Cauchy(), x) 0 atol=1e-12
385385
end
386386

387387
let f = 𝒹((x -> x^2, Normal()), Normal())
388388
@test f(x) x^2
389389
end
390390

391391
let d = ∫exp(log𝒹(Cauchy(), Normal()), Normal())
392-
@test logdensity(d, x) logdensity(Cauchy(), x)
392+
@test logdensity(d, Cauchy(), x) 0 atol=1e-12
393393
end
394394

395395
let f = log𝒹(∫exp(x -> x^2, Normal()), Normal())

0 commit comments

Comments
 (0)