Skip to content

Commit cc898e7

Browse files
author
Katharine Hyatt
committed
One more fix
1 parent 7fe907a commit cc898e7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/testsuite/svd.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ function test_randomized_svd(T::Type, sz, algs; kwargs...)
322322
minmn = min(m, n)
323323
S₀ = collect(svd_vals(A))
324324
U1, S1, V1ᴴ, ϵ1 = @testinferred svd_trunc(A; alg)
325-
@test length(diagview(S1)) == alg.alg.k
326-
@test collect(diagview(S1)) S₀[1:alg.alg.k]
325+
@test length(diagview(S1)) == alg.k
326+
@test collect(diagview(S1)) S₀[1:alg.k]
327327
end
328328
end

0 commit comments

Comments
 (0)