From 47947ef8eadd9c9f78fc6ee3765b5d9cfc211511 Mon Sep 17 00:00:00 2001 From: David Widmann Date: Sat, 8 Aug 2020 23:03:54 +0200 Subject: [PATCH] Fix tests on Julia 1.5 --- test/norm_flows.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/norm_flows.jl b/test/norm_flows.jl index 4ee46774..6504bad5 100644 --- a/test/norm_flows.jl +++ b/test/norm_flows.jl @@ -27,8 +27,8 @@ end our_method = sum(forward(flow, z).logabsdetjac) @test our_method ≈ forward_diff - @test inv(flow)(flow(z)) ≈ z rtol=0.2 - @test (inv(flow) ∘ flow)(z) ≈ z rtol=0.2 + @test inv(flow)(flow(z)) ≈ z rtol=0.25 + @test (inv(flow) ∘ flow)(z) ≈ z rtol=0.25 end w = ones(10)