From 02cd879228ebea4c8c3c26f36fc75688e6f6b297 Mon Sep 17 00:00:00 2001 From: kmp5VT Date: Wed, 1 Nov 2023 17:25:00 -0400 Subject: [PATCH] format --- NDTensors/ext/NDTensorsCUDAExt/linearalgebra.jl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/NDTensors/ext/NDTensorsCUDAExt/linearalgebra.jl b/NDTensors/ext/NDTensorsCUDAExt/linearalgebra.jl index 15760c2dd3..fc92413b44 100644 --- a/NDTensors/ext/NDTensorsCUDAExt/linearalgebra.jl +++ b/NDTensors/ext/NDTensorsCUDAExt/linearalgebra.jl @@ -20,20 +20,20 @@ function NDTensors.svd_catch_error(A::CuMatrix, ::CUDA.CUSOLVER.QRAlgorithm) s = size(A) if s[1] < s[2] At = copy(Adjoint(A)) - - USV = try + + USV = try svd(At; alg=CUDA.CUSOLVER.QRAlgorithm()) catch return nothing end - MV ,MS, MU = USV; + MV, MS, MU = USV USV = SVD(copy(MU), MS, Adjoint(MV)) else - USV = try + USV = try svd(A; alg=CUDA.CUSOLVER.QRAlgorithm()) catch return nothing end end return USV -end \ No newline at end of file +end