Skip to content

Commit a09fdde

Browse files
lkdvoskshyatt
authored andcommitted
update algorithm tests
1 parent cb443d0 commit a09fdde

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

test/algorithms.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ using MatrixAlgebraKit
22
using Test
33
using TestExtras
44
using MatrixAlgebraKit: LAPACK_SVDAlgorithm, PolarViaSVD, TruncatedAlgorithm,
5-
default_algorithm, select_algorithm
5+
default_algorithm, select_algorithm, Householder
66

77
@testset "default_algorithm" begin
88
A = randn(3, 3)
@@ -17,21 +17,21 @@ using MatrixAlgebraKit: LAPACK_SVDAlgorithm, PolarViaSVD, TruncatedAlgorithm,
1717
LAPACK_MultipleRelativelyRobustRepresentations()
1818
end
1919
for f in (lq_full!, lq_full, lq_compact!, lq_compact, lq_null!, lq_null)
20-
@test @constinferred(default_algorithm(f, A)) == LAPACK_HouseholderLQ()
20+
@test @constinferred(default_algorithm(f, A)) == Householder()
2121
end
2222
for f in (left_polar!, left_polar, right_polar!, right_polar)
2323
@test @constinferred(default_algorithm(f, A)) ==
2424
PolarViaSVD(LAPACK_DivideAndConquer())
2525
end
2626
for f in (qr_full!, qr_full, qr_compact!, qr_compact, qr_null!, qr_null)
27-
@test @constinferred(default_algorithm(f, A)) == LAPACK_HouseholderQR()
27+
@test @constinferred(default_algorithm(f, A)) == Householder()
2828
end
2929
for f in (schur_full!, schur_full, schur_vals!, schur_vals)
3030
@test @constinferred(default_algorithm(f, A)) === LAPACK_Expert()
3131
end
3232

33-
@test @constinferred(default_algorithm(qr_compact!, A; blocksize = 2)) ===
34-
LAPACK_HouseholderQR(; blocksize = 2)
33+
@test @constinferred(default_algorithm(qr_compact!, A; blocksize = 2)) ==
34+
Householder(; blocksize = 2)
3535
end
3636

3737
@testset "select_algorithm" begin

0 commit comments

Comments
 (0)