Skip to content

Commit 301780a

Browse files
committed
Adapt tests to eltype(blocks)
1 parent d915273 commit 301780a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/tensors.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ for V in spacelist
4747
next = @constinferred Nothing iterate(bs, state)
4848
b2 = @constinferred block(t, first(blocksectors(t)))
4949
@test b1 == b2
50-
@test eltype(bs) === typeof(b1) === TensorKit.blocktype(t)
50+
@test eltype(bs) === Pair{typeof(c),typeof(b1)}
51+
@test typeof(b1) === TensorKit.blocktype(t)
5152
end
5253
end
5354
@timedtestset "Tensor Dict conversion" begin

0 commit comments

Comments
 (0)