File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ eltypes = (Float32, ComplexF64)
1111for 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
You can’t perform that action at this time.
0 commit comments