From d88a112335beea4fbbe0c9386ca4ec704b219c75 Mon Sep 17 00:00:00 2001 From: Michael Abbott <32575566+mcabbott@users.noreply.github.com> Date: Tue, 8 Mar 2022 00:18:32 -0500 Subject: [PATCH] test no longer broken --- test/utils.jl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/utils.jl b/test/utils.jl index 87acc9bcab..2aa0cb62e9 100644 --- a/test/utils.jl +++ b/test/utils.jl @@ -366,11 +366,7 @@ end ∇m = gradient(m -> sum(m(x)), m)[1] p, re = destructure(m) ∇p = gradient(θ -> sum(re(θ)(x)), p)[1] - if VERSION >= v"1.7" - @test_broken ∇p ≈ destructure(∇m)[1] - else - @test ∇p ≈ destructure(∇m)[1] - end + @test ∇p ≈ destructure(∇m)[1] end end end