Skip to content

Commit

Permalink
test no longer broken
Browse files Browse the repository at this point in the history
  • Loading branch information
mcabbott committed Mar 8, 2022
1 parent eced0af commit d88a112
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d88a112

Please sign in to comment.