Skip to content

Commit 6e3fca5

Browse files
committed
remove limited rightorth after new spaces
1 parent 67cc8c8 commit 6e3fca5

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

test/test_A4.jl

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,11 +1195,10 @@ end
11951195

11961196
@timedtestset "Factorization" for V in fact_Vs
11971197
V1, V2, V3, V4, V5 = V
1198-
# TODO: try ifelse/?: here
1199-
WL = V3 V4 V2 V1' V5' # old left permute resulted in this space
1200-
WR = V3 V4 V2' V1' V5' # old right permute
1201-
WmodR = V1 V2 V3 V4 V5 # new fusion order for right
1202-
WmodL = V1 V2 V5' V3 V4 # new fusion order for left
1198+
WL = V3 V4 V2 V1' V5'
1199+
WR = V3 V4 V2' V1' V5'
1200+
WmodR = V1 V2 V3 V4 V5 # custom fusion order for off-diagonal case
1201+
WmodL = V1 V2 V5' V3 V4
12031202

12041203
for T in (Float32, ComplexF64)
12051204
# Test both a normal tensor and an adjoint one.
@@ -1211,7 +1210,6 @@ end
12111210
(TK.RQ(), TK.RQpos(), TK.LQ(),
12121211
TK.LQpos(),
12131212
TK.Polar(), TK.SVD(), TK.SDD())
1214-
(alg isa RQ || alg isa RQpos || alg isa Polar) && !isdiag && continue
12151213
L, Q = @constinferred rightorth(t; alg=alg)
12161214
QQd = Q * Q'
12171215
@test QQd one(QQd)

0 commit comments

Comments
 (0)