Skip to content

Commit 378e67f

Browse files
kshyattJutho
andcommitted
Update test/testsuite/svd.jl
Co-authored-by: Jutho <Jutho@users.noreply.github.com>
1 parent e5b7d5b commit 378e67f

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
@@ -204,7 +204,7 @@ function test_svd_trunc(
204204
m4 = 4
205205
U = qr_compact(randn!(similar(A, eltype(T), m4, m4)))[1]
206206
Sdiag = similar(A, real(eltype(T)), m4)
207-
copyto!(Sdiag, real(eltype(T))[0.9, 0.3, 0.1, 0.01])
207+
copyto!(Sdiag, [0.9, 0.3, 0.1, 0.01])
208208
S = Diagonal(Sdiag)
209209
Vᴴ = qr_compact(randn!(similar(A, eltype(T), m4, m4)))[1]
210210
A = T <: Diagonal ? S : U * S * Vᴴ

0 commit comments

Comments
 (0)