Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ToucheSir authored Aug 26, 2022
1 parent fb34703 commit 4183226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/features.jl
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ end

# for when no kwargs have grads backpropogated
no_kwarg_grad(x; kwargs...) = x[kwargs[:i]]
@test gradient(x -> no_kwarg_grad(x; i=1), [1]) == (1,)
@test gradient(x -> no_kwarg_grad(x; i=1), [1]) == ([1],)
end

@testset "Iterators" begin
Expand Down

0 comments on commit 4183226

Please sign in to comment.