Skip to content

Commit 5ee3b69

Browse files
author
Katharine Hyatt
committed
Another fix
1 parent cc898e7 commit 5ee3b69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/testsuite/svd.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,6 @@ function test_randomized_svd(T::Type, sz, algs; kwargs...)
323323
S₀ = collect(svd_vals(A))
324324
U1, S1, V1ᴴ, ϵ1 = @testinferred svd_trunc(A; alg)
325325
@test length(diagview(S1)) == alg.k
326-
@test collect(diagview(S1)) S₀[1:alg.k]
326+
@test collect(diagview(S1))[1:alg.k] S₀[1:alg.k]
327327
end
328328
end

0 commit comments

Comments
 (0)