Skip to content

Commit c02d5e9

Browse files
authored
concrete eltype for SumSpace components (#290)
1 parent 92d75d6 commit c02d5e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Spaces/SumSpace.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ function interlace(v::Union{Tuple,Vector{Any}},sp::DirectSumSpace)
407407
interlace(V,sp)
408408
end
409409

410-
components(f::Fun{S}) where {S<:DirectSumSpace} = Fun[component(f,j) for j=1:ncomponents(f)]
410+
components(f::Fun{<:DirectSumSpace}) = [component(f,j) for j=1:ncomponents(f)]
411411

412412
function Fun(v::AbstractVector{F},::Type{PiecewiseSpace}) where F<:Fun
413413
sp = PiecewiseSpace(map(space,v))

0 commit comments

Comments
 (0)