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.
1 parent 32571c8 commit c6b1eb9Copy full SHA for c6b1eb9
src/tensors/sectorvector.jl
@@ -16,7 +16,7 @@ function SectorVector{T}(::UndefInitializer, V::ElementarySpace) where {T}
16
structure = diagonalblockstructure(V ← V)
17
return SectorVector(data, structure)
18
end
19
-function SectorVector{T, I, A}(::UndefInitializer, V::ElementarySpace) where {T, I, A}
+function SectorVector{T, I, A}(::UndefInitializer, V::ElementarySpace) where {T, I, A <: AbstractVector{T}}
20
data = A(undef, reduceddim(V))
21
22
return SectorVector{T, I, A}(data, structure)
0 commit comments