File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ function test_svd_trunc(
168168 @test length (diagview (S1)) == r
169169 @test collect (diagview (S1)) ≈ S₀[1 : r]
170170 AUSV_vals = svd_vals (A - U1 * S1 * V1ᴴ) # bypass broken svdvals on AMDGPU
171- @test mapreduce (sv-> opnorm (sv, 2 ), max, AUSV_vals) ≈ S₀[r + 1 ]
171+ @test mapreduce (sv -> opnorm (sv, 2 ), max, AUSV_vals) ≈ S₀[r + 1 ]
172172 # Test truncation error
173173 @test ϵ1 ≈ norm (view (S₀, (r + 1 ): minmn)) atol = atol
174174
@@ -250,7 +250,7 @@ function test_svd_trunc_algs(
250250 @test length (diagview (S1)) == r
251251 @test collect (diagview (S1)) ≈ S₀[1 : r]
252252 AUSV_vals = svd_vals (A - U1 * S1 * V1ᴴ) # bypass broken svdvals on AMDGPU
253- @test mapreduce (sv-> opnorm (sv, 2 ), max, AUSV_vals) ≈ S₀[r + 1 ]
253+ @test mapreduce (sv -> opnorm (sv, 2 ), max, AUSV_vals) ≈ S₀[r + 1 ]
254254 # Test truncation error
255255 @test ϵ1 ≈ norm (view (S₀, (r + 1 ): minmn)) atol = atol
256256
You can’t perform that action at this time.
0 commit comments