Skip to content

Commit 23ceb45

Browse files
committed
add tests
1 parent 82a7adc commit 23ceb45

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/bunchkaufman.jl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,4 +259,13 @@ end
259259
@test B.U * B.D * B.U' S
260260
end
261261

262+
@testset "BunchKaufman array constructors #1461" begin
263+
a = randn(5,5)
264+
A = a'a
265+
for ul in (:U, :L)
266+
B = bunchkaufman(A, ul)
267+
@test A Array(B) Matrix(B) AbstractArray(B) AbstractMatrix(B)
268+
end
269+
end
270+
262271
end # module TestBunchKaufman

0 commit comments

Comments
 (0)