From 4c688f06b085c15c27bede9394daa890cf8fa707 Mon Sep 17 00:00:00 2001 From: Lukas <37111893+lkdvos@users.noreply.github.com> Date: Mon, 8 Apr 2024 13:56:24 +0200 Subject: [PATCH] Add additional test for `eltype` of sector product iterators --- test/sectors.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/test/sectors.jl b/test/sectors.jl index 720d1a99..1e4a31ca 100644 --- a/test/sectors.jl +++ b/test/sectors.jl @@ -20,6 +20,7 @@ println("------------------------------------") @constinferred Fsymbol(s..., s...) it = @constinferred s[1] ⊗ s[2] @test eltype(it) === I + @test collect(it) isa Vector{I} @constinferred ⊗(s..., s...) end @testset "Sector $Istr: Value iterator" begin