Skip to content

Commit 43b3963

Browse files
jishnubstevengj
andauthored
Update test/structuredbroadcast.jl
Add type assertion as suggested Co-authored-by: Steven G. Johnson <stevenj@alum.mit.edu>
1 parent 653b3a2 commit 43b3963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/structuredbroadcast.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ end
144144
@test broadcast!(sin, copy(T), T) == Tridiagonal(sin.(T))
145145
@test broadcast!(sin, copy(◣), ◣) == LowerTriangular(sin.(◣))
146146
@test broadcast!(sin, copy(◥), ◥) == UpperTriangular(sin.(◥))
147-
@test broadcast!(sin, copy(UH), UH) == UpperHessenberg(sin.(UH))
147+
@test broadcast!(sin, copy(UH), UH)::UpperHessenberg == UpperHessenberg(sin.(UH)::UpperHessenberg)
148148
@test broadcast!(sin, copy(M), M) == Matrix(sin.(M))
149149
@test broadcast!(*, copy(D), D, A) == Diagonal(broadcast(*, D, A))
150150
@test broadcast!(*, copy(Bu), Bu, A) == Bidiagonal(broadcast(*, Bu, A), :U)

0 commit comments

Comments
 (0)