Skip to content

Commit

Permalink
format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BioTurboNick committed Sep 18, 2024
1 parent 9538e2a commit ba19c99
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/rulesets/Base/indexing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -254,5 +254,11 @@ end
# Second derivative rule
test_rrule(ChainRules.∇eachslice, [rand(4) for _ in 1:3], rand(3, 4), Val(1))
test_rrule(ChainRules.∇eachslice, [rand(3) for _ in 1:4], rand(3, 4), Val(2))
test_rrule(ChainRules.∇eachslice, [rand(2, 3) for _ in 1:4], rand(2, 3, 4), Val(3); check_inferred=(VERSION >= v"1.7"))
test_rrule(
ChainRules.∇eachslice,
[rand(2, 3) for _ in 1:4],
rand(2, 3, 4),
Val(3);
check_inferred=(VERSION >= v"1.7"),
)
end

0 comments on commit ba19c99

Please sign in to comment.