Skip to content

Commit ce9da19

Browse files
committed
Add Base.size(::RangeAndLinked)
1 parent d2f58d7 commit ce9da19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/contexts/init.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ struct RangeAndLinked
213213
is_linked::Bool
214214
end
215215

216+
Base.size(ral::RangeAndLinked) = size(ral.range)
217+
216218
"""
217219
VectorWithRanges{Tlink}(
218220
varname_ranges::VarNamedTuple,

0 commit comments

Comments
 (0)