From a2043722a09efdf64ed89a6d4912606a9c419ab9 Mon Sep 17 00:00:00 2001 From: dpo Date: Sat, 12 Nov 2022 04:43:00 +0000 Subject: [PATCH] :robot: Format .jl files --- test/test_kron.jl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/test_kron.jl b/test/test_kron.jl index 2cac525a..7d08913b 100644 --- a/test/test_kron.jl +++ b/test/test_kron.jl @@ -48,13 +48,13 @@ function test_kron() end @testset ExtendedTestSet "kron scaling" begin - A =2kron(opEye(2),I(1)) - x = randn(2) - y1=A*x - y2=A'*x - y3=transpose(A)*x - err = norm(y1-2x) + norm(y2-2x) + norm(y3-2x) - @test err < 1e-12 + A = 2kron(opEye(2), I(1)) + x = randn(2) + y1 = A * x + y2 = A' * x + y3 = transpose(A) * x + err = norm(y1 - 2x) + norm(y2 - 2x) + norm(y3 - 2x) + @test err < 1e-12 end end