Skip to content

Commit b17c415

Browse files
committed
Test for rectangular UpperHessenberg
1 parent 499c286 commit b17c415

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/structuredbroadcast.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,4 +393,11 @@ end
393393
@test ind == CartesianIndex(1,1)
394394
end
395395

396+
@testset "Rectangular UpperHessenberg" begin
397+
UH = UpperHessenberg(ones(4,3))
398+
UH2 = UH .+ UH .- UH
399+
@test UH2 == UH
400+
@test UH2 isa UpperHessenberg
401+
end
402+
396403
end

0 commit comments

Comments
 (0)