Skip to content

Commit 54f31f1

Browse files
committed
Work around breakage from JuliaLang/julia#53611.
1 parent 3272abe commit 54f31f1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/libraries/cusolver/dense_generic.jl

+4-4
Original file line numberDiff line numberDiff line change
@@ -128,20 +128,20 @@ p = 5
128128
A = rand(elty,m,n)
129129
d_A = CuMatrix(A)
130130
U, Σ, V, err_sigma = CUSOLVER.Xgesvdp!('V', 0, d_A)
131-
@test A collect(U[:,1:n] * Diagonal(Σ) * V')
131+
@test A collect(U[:,1:n]) * Diagonal(collect(Σ)) * collect(V)'
132132

133133
d_A = CuMatrix(A)
134134
U, Σ, V, err_sigma = CUSOLVER.Xgesvdp!('V', 1, d_A)
135-
@test A collect(U * Diagonal(Σ) * V')
135+
@test A collect(U) * Diagonal(collect(Σ)) * collect(V)'
136136

137137
A = rand(elty,n,m)
138138
d_A = CuMatrix(A)
139139
U, Σ, V, err_sigma = CUSOLVER.Xgesvdp!('V', 0, d_A)
140-
@test A collect(U * Diagonal(Σ) * V[:,1:n]')
140+
@test A collect(U) * Diagonal(collect(Σ)) * collect(V[:,1:n])'
141141

142142
d_A = CuMatrix(A)
143143
U, Σ, V, err_sigma = CUSOLVER.Xgesvdp!('V', 1, d_A)
144-
@test A collect(U * Diagonal(Σ) * V')
144+
@test A collect(U) * Diagonal(collect(Σ)) * collect(V)'
145145
end
146146

147147
# @testset "gesvdr!" begin

0 commit comments

Comments
 (0)