Skip to content

Commit

Permalink
Make test work on earlier Julia versions
Browse files Browse the repository at this point in the history
  • Loading branch information
BioTurboNick committed Sep 16, 2024
1 parent e72cb1c commit 948f7aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rulesets/Base/indexing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ end
eachslice, FooTwoField.(rand(2, 3, 2), rand(2, 3, 2)); dims=3
)
@test back([fill(Tangent{Any}(; x=0.0, y=1.0), 2, 3), fill(ZeroTangent(), 2, 3)]) == (
NoTangent(), [fill(Tangent{Any}(; x=0.0, y=1.0), 2, 3);;; fill(ZeroTangent(), 2, 3)]
NoTangent(), cat(fill(Tangent{Any}(; x=0.0, y=1.0), 2, 3), fill(ZeroTangent(), 2, 3), dims = 3)
)

# Second derivative rule
Expand Down

0 comments on commit 948f7aa

Please sign in to comment.