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