Skip to content

Commit

Permalink
Formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed Oct 6, 2023
1 parent a47995f commit 7027ff0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions test/planar.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@ using TensorOperations
@testset "planaradd" begin
A = TensorMap(randn, V1 V2 V3 V4 V5)
C = TensorMap(randn, V4' V3' V5 V2' V1')

A′ = force_planar(A)
C′ = force_planar(C)

p = ((4, 3), (5, 2, 1))

@test force_planar(tensoradd!(C, p, A, :N, true, true))
planaradd!(C′, A′, p, true, true)
end
@testset "planartrace" begin
A = TensorMap(randn, V1 V2 V1 V4 V5)
C = TensorMap(randn, V4' V2 V5)

A′ = force_planar(A)
C′ = force_planar(C)

p = ((4, 2), (5,))
q = ((1,), (3,))

Expand Down
2 changes: 1 addition & 1 deletion test/tensors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ using Combinatorics: permutations
end
Istr = TensorKit.type_repr(I)
println("Starting tests for $Istr...")

V1, V2, V3, V4, V5 = V
@assert V3 * V4 * V2 V1' * V5' "leftorth tests assumption"
@assert V3 * V4 V1' * V2' * V5' "rightorth tests assumption"
Expand Down

0 comments on commit 7027ff0

Please sign in to comment.