Skip to content

Commit b80118a

Browse files
committed
Fix some tests
1 parent b710816 commit b80118a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/implementations/orthnull.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function left_orth_svd!(A, VC, alg, trunc::Nothing=nothing)
115115
end
116116
function left_orth_svd!(A, VC, alg, trunc)
117117
alg′ = select_algorithm(svd_compact!, A, alg)
118-
alg_trunc = select_algorithm(svd_trunc!, A; trunc, alg=alg′)
118+
alg_trunc = select_algorithm(svd_trunc!, A, alg′; trunc)
119119
V, C = VC
120120
S = Diagonal(initialize_output(svd_vals!, A, alg_trunc.alg))
121121
U, S, Vᴴ = svd_trunc!(A, (V, S, C), alg_trunc)
@@ -156,7 +156,7 @@ function right_orth_svd!(A, CVᴴ, alg, trunc::Nothing=nothing)
156156
end
157157
function right_orth_svd!(A, CVᴴ, alg, trunc)
158158
alg′ = select_algorithm(svd_compact!, A, alg)
159-
alg_trunc = select_algorithm(svd_trunc!, A; trunc, alg=alg′)
159+
alg_trunc = select_algorithm(svd_trunc!, A, alg′; trunc)
160160
C, Vᴴ = CVᴴ
161161
S = Diagonal(initialize_output(svd_vals!, A, alg_trunc.alg))
162162
U, S, Vᴴ = svd_trunc!(A, (C, S, Vᴴ), alg_trunc)

0 commit comments

Comments
 (0)