Skip to content

Commit 673eab4

Browse files
committed
small fix in rank tests
1 parent 82470cc commit 673eab4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test/factorizations/svd.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ eltypes = (Float32, ComplexF64)
1111
for V in spacelist
1212
I = sectortype(first(V))
1313
Istr = TensorKit.type_repr(I)
14-
println("---------------------------------------")
14+
println("---------------------------------------------------------------")
1515
println("Singular value and polar decompositions with symmetry: $Istr")
16-
println("---------------------------------------")
16+
println("---------------------------------------------------------------")
1717
@timedtestset "Singular value and polar decompositions with symmetry: $Istr" verbose = true begin
1818
V1, V2, V3, V4, V5 = V
1919
W = V1 V2
@@ -29,7 +29,7 @@ for V in spacelist
2929

3030
d1, d2 = dim(codomain(t)), dim(domain(t))
3131
r = rank(t)
32-
@test r == min(d1, d2)
32+
@test r min(d1, d2)
3333
@test typeof(r) == typeof(d1)
3434
M = left_null(t)
3535
@test @constinferred(rank(M)) + r d1
@@ -39,7 +39,7 @@ for V in spacelist
3939
for T in eltypes
4040
u = unitary(T, V1 V2, V1 V2)
4141
@test @constinferred(cond(u)) one(real(T))
42-
@test @constinferred(rank(u)) == dim(V1 V2)
42+
@test @constinferred(rank(u)) dim(V1 V2)
4343

4444
t = rand(T, zerospace(V1), W)
4545
@test rank(t) == 0

0 commit comments

Comments
 (0)