File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ for V in spacelist
4949 @test b1 == b2
5050 @test eltype (bs) === Pair{typeof (c),typeof (b1)}
5151 @test typeof (b1) === TensorKit. blocktype (t)
52+ @test typeof (c) === sectortype (t)
5253 end
5354 end
5455 @timedtestset " Tensor Dict conversion" begin
@@ -108,7 +109,9 @@ for V in spacelist
108109 next = @constinferred Nothing iterate (bs, state)
109110 b2 = @constinferred block (t' , first (blocksectors (t' )))
110111 @test b1 == b2
111- @test eltype (bs) === typeof (b1) === TensorKit. blocktype (t' )
112+ @test eltype (bs) === Pair{typeof (c), typeof (b1)}
113+ @test typeof (b1) === TensorKit. blocktype (t' )
114+ @test typeof (c) === sectortype (t)
112115 # linear algebra
113116 @test isa (@constinferred (norm (t)), real (T))
114117 @test norm (t)^ 2 ≈ dot (t, t)
You can’t perform that action at this time.
0 commit comments