Skip to content

Commit f7c324b

Browse files
committed
fix tests
1 parent 6b1fa57 commit f7c324b

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

test/orthnull.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ using TestExtras
44
using StableRNGs
55
using LinearAlgebra: LinearAlgebra, I, mul!
66
using MatrixAlgebraKit: TruncationKeepAbove, TruncationKeepBelow
7-
using MatrixAlgebraKit: LAPACK_SVDAlgorithm, check_input, copy_input, default_svd_algorithm,
7+
using MatrixAlgebraKit: LAPACK_SVDAlgorithm, check_input, copy_input, default_algorithm,
88
initialize_output
99

1010
# Used to test non-AbstractMatrix codepaths.
@@ -39,8 +39,9 @@ end
3939
function MatrixAlgebraKit.check_input(::typeof(right_orth!), A::LinearMap, VC)
4040
return check_input(right_orth!, parent(A), parent.(VC))
4141
end
42-
function MatrixAlgebraKit.default_svd_algorithm(A::LinearMap)
43-
return default_svd_algorithm(parent(A))
42+
function MatrixAlgebraKit.default_algorithm(::typeof(svd_compact!),
43+
::Type{LinearMap{A}}) where {A}
44+
return default_algorithm(svd_compact!, A)
4445
end
4546
function MatrixAlgebraKit.initialize_output(::typeof(svd_compact!), A::LinearMap,
4647
alg::LAPACK_SVDAlgorithm)

0 commit comments

Comments
 (0)