From ba19c99aa88b3263b3adc5264ab889af88cf3f04 Mon Sep 17 00:00:00 2001 From: Nicholas Bauer Date: Wed, 18 Sep 2024 09:41:08 -0400 Subject: [PATCH] format fix --- test/rulesets/Base/indexing.jl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/rulesets/Base/indexing.jl b/test/rulesets/Base/indexing.jl index c3c08b7e2..f80a37048 100644 --- a/test/rulesets/Base/indexing.jl +++ b/test/rulesets/Base/indexing.jl @@ -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