Skip to content

Commit

Permalink
🤖 Format .jl files
Browse files Browse the repository at this point in the history
  • Loading branch information
dpo committed Nov 12, 2022
1 parent 9326bdc commit a204372
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/test_kron.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a204372

Please sign in to comment.