We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7d8e2c commit 193337cCopy full SHA for 193337c
test/rulesets/Base/broadcast.jl
@@ -13,15 +13,15 @@ using Base.Broadcast: broadcasted
13
end
14
15
@testset "split 2: derivatives" begin
16
- test_rrule(copy∘broadcasted, log, rand(3))
17
- test_rrule(copy∘broadcasted, log, Tuple(rand(3)))
+ test_rrule(copy∘broadcasted, log, rand(3) .+ 1)
+ test_rrule(copy∘broadcasted, log, Tuple(rand(3) .+ 1))
18
19
# Two args uses StructArrays
20
test_rrule(copy∘broadcasted, atan, rand(3), rand(3))
21
test_rrule(copy∘broadcasted, atan, rand(3), rand(4)')
22
test_rrule(copy∘broadcasted, atan, rand(3), rand())
23
test_rrule(copy∘broadcasted, atan, rand(3), Tuple(rand(1)))
24
- test_rrule(copy∘broadcasted, atan, Tuple(rand(3)), Tuple(rand(3)))
+ test_rrule(copy∘broadcasted, atan, Tuple(rand(3)), Tuple(rand(3)), check_inferred = VERSION > v"1.7")
25
26
test_rrule(copy∘broadcasted, *, rand(3), Ref(rand()))
27
0 commit comments