Skip to content

Commit 5c17619

Browse files
committed
Add test for unstable broadcast
1 parent 9b9d8b2 commit 5c17619

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -938,6 +938,7 @@ Base.similar(bc::Broadcast.Broadcasted{Broadcast.ArrayStyle{MyArray}}, ::Type{El
938938
a = StructArray([1;2+im])
939939
b = StructArray([1;;2+im])
940940
@test a .+ b == a .+ collect(b) == collect(a) .+ b == collect(a) .+ collect(b)
941+
@test a .+ Any[1] isa StructArray
941942

942943
# issue #185
943944
A = StructArray(randn(ComplexF64, 3, 3))

0 commit comments

Comments
 (0)