Skip to content

Commit a204372

Browse files
committedNov 12, 2022
🤖 Format .jl files
1 parent 9326bdc commit a204372

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
 

‎test/test_kron.jl

+7-7
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ function test_kron()
4848
end
4949

5050
@testset ExtendedTestSet "kron scaling" begin
51-
A =2kron(opEye(2),I(1))
52-
x = randn(2)
53-
y1=A*x
54-
y2=A'*x
55-
y3=transpose(A)*x
56-
err = norm(y1-2x) + norm(y2-2x) + norm(y3-2x)
57-
@test err < 1e-12
51+
A = 2kron(opEye(2), I(1))
52+
x = randn(2)
53+
y1 = A * x
54+
y2 = A' * x
55+
y3 = transpose(A) * x
56+
err = norm(y1 - 2x) + norm(y2 - 2x) + norm(y3 - 2x)
57+
@test err < 1e-12
5858
end
5959
end
6060

0 commit comments

Comments
 (0)
Please sign in to comment.