Skip to content

Commit

Permalink
Update component.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
behinger authored Feb 19, 2024
1 parent 334e7b2 commit f58e1dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/component.jl
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ Base.length(c::AbstractComponent) = length(c.basis)

"""
maxlength(c::Vector{AbstractComponent}) = maximum(length.(c))
maximum of individual component lengths
"""
maxlength(c::Vector{AbstractComponent}) = maximum(length.(c))

Expand Down

0 comments on commit f58e1dd

Please sign in to comment.