Skip to content

Commit

Permalink
Don't return SVD of U, S, V
Browse files Browse the repository at this point in the history
  • Loading branch information
kmp5VT committed Nov 2, 2023
1 parent f5c7701 commit 913b830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NDTensors/ext/NDTensorsCUDAExt/linearalgebra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function NDTensors.svd_catch_error(A::CuMatrix, ::CUDA.CUSOLVER.QRAlgorithm)
return nothing
end
MV, MS, MU = USV
USV = SVD(copy(MU), MS, Adjoint(MV))
USV = (MU, MS, MV)
else
USV = try
svd(A; alg=CUDA.CUSOLVER.QRAlgorithm())
Expand Down

0 comments on commit 913b830

Please sign in to comment.