Skip to content

Commit 6a1152e

Browse files
pre-commit-ci[bot]lkdvos
authored andcommitted
Formatter
1 parent 5a9917a commit 6a1152e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/factorizations/svd.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ function MatrixAlgebraKit.initialize_output(
5656
return U, S, Vᴴ
5757
end
5858

59-
6059
function similar_output(
6160
::typeof(svd_full!), A, S_axes, alg::MatrixAlgebraKit.AbstractAlgorithm
6261
)
@@ -210,10 +209,10 @@ function MatrixAlgebraKit.svd_full!(
210209
end
211210

212211
# Complete the unitaries for rectangular inputs
213-
for I in blocksize(A, 2)+1:blocksize(A, 1)
212+
for I in (blocksize(A, 2) + 1):blocksize(A, 1)
214213
copyto!(@view!(U[Block(I, I)]), LinearAlgebra.I)
215214
end
216-
for I in blocksize(A, 1)+1:blocksize(A, 2)
215+
for I in (blocksize(A, 1) + 1):blocksize(A, 2)
217216
copyto!(@view!(Vᴴ[Block(I, I)]), LinearAlgebra.I)
218217
end
219218

test/test_issues.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,3 @@ using Test: @test, @testset
2323
@test Vᴴ * Vᴴ' LinearAlgebra.I
2424
@test Vᴴ' * Vᴴ LinearAlgebra.I
2525
end
26-

0 commit comments

Comments
 (0)