Skip to content

Commit 9d7949d

Browse files
kshyattJutho
andcommitted
Update test/testsuite/svd.jl
Co-authored-by: Jutho <[email protected]>
1 parent 3ec1778 commit 9d7949d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)