We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
eltype(blocks)
1 parent d915273 commit 301780aCopy full SHA for 301780a
test/tensors.jl
@@ -47,7 +47,8 @@ for V in spacelist
47
next = @constinferred Nothing iterate(bs, state)
48
b2 = @constinferred block(t, first(blocksectors(t)))
49
@test b1 == b2
50
- @test eltype(bs) === typeof(b1) === TensorKit.blocktype(t)
+ @test eltype(bs) === Pair{typeof(c),typeof(b1)}
51
+ @test typeof(b1) === TensorKit.blocktype(t)
52
end
53
54
@timedtestset "Tensor Dict conversion" begin
0 commit comments