Skip to content

Commit 15249bf

Browse files
committed
test fixes
1 parent 35e8d2e commit 15249bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/cholesky.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -604,9 +604,9 @@ end
604604
@test Matrix(B) A
605605
B = cholesky(A, RowMaximum())
606606
B32 = cholesky(Float32.(A), RowMaximum())
607-
@test B isa CholeskyPivoted{Float16,Matrix{Float16}}
608-
@test B.U isa UpperTriangular{Float16, Matrix{Float16}}
609-
@test B.L isa LowerTriangular{Float16, Matrix{Float16}}
607+
@test B isa CholeskyPivoted{Float16, <:AbstractMatrix{Float16}}
608+
@test B.U isa UpperTriangular{Float16, <:AbstractMatrix{Float16}}
609+
@test B.L isa LowerTriangular{Float16, <:AbstractMatrix{Float16}}
610610
@test B.U B32.U
611611
@test B.L B32.L
612612
@test Matrix(B) A
@@ -667,7 +667,7 @@ end
667667

668668
for uplo in (:L, :U)
669669
C = Symmetric(Apd, uplo)
670-
for val in (Val(true), Val(false))
670+
for val in (NoPivot(), RowMaximum())
671671
B = cholesky(C, val)
672672
B.L, B.U # access once to ensure the accessor is compiled already
673673
@test (@allocated B.L) <= allowed_cost_of_overhead

0 commit comments

Comments
 (0)