Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
aplavin authored Nov 21, 2023
1 parent 0a5f18e commit af916b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ to
map(c -> c[I...], Tuple(cols))
```
"""
@inline function get_ith(cols::Union{Tuple,NamedTuple}, I...) = map(c -> (@inbounds c[I...]), Tuple(cols))
@inline get_ith(cols::Union{Tuple,NamedTuple}, I...) = map(c -> (@inbounds c[I...]), Tuple(cols))

Base.@propagate_inbounds Base.getindex(x::StructArray, I...) = _getindex(x, to_indices(x, I)...)

Expand Down

0 comments on commit af916b8

Please sign in to comment.