@@ -17,7 +17,7 @@ struct Bar
1717 (4 , NoTangent),
1818 (FiniteDifferences, NoTangent), # Module object
1919 # Types (not instances of type)
20- (Bar, NoTangent),
20+ (Bar, NoTangent),
2121 (Union{Int, Bar}, NoTangent),
2222 (Union{Int, Bar}, NoTangent),
2323 (Vector, NoTangent),
@@ -42,15 +42,18 @@ struct Bar
4242 # Co-Arrays
4343 (randn (5 )' , Adjoint{Float64, Vector{Float64}}), # row-vector: special
4444 (randn (5 , 4 )' , Matrix{Float64}), # matrix: generic dense
45-
45+
4646 (transpose (randn (5 )), Transpose{Float64, Vector{Float64}}), # row-vector: special
4747 (transpose (randn (5 , 4 )), Matrix{Float64}), # matrix: generic dense
48-
48+
4949 # AbstactArrays of non-perturbable types
5050 (1 : 10 , NoTangent),
5151 (1 : 2 : 10 , NoTangent),
5252 ([false , true ], NoTangent),
5353
54+ # Broadcasted.
55+ (Broadcast. broadcasted (sin, randn (5 , 4 )), Matrix{Float64}),
56+
5457 # Tuples.
5558 ((4.0 , ), Tangent{Tuple{Float64}}),
5659 ((5.0 , randn (3 )), Tangent{Tuple{Float64, Vector{Float64}}}),
0 commit comments