Skip to content

Commit c01c6c8

Browse files
oxinaboxmcabbott
andauthored
Update src/names.jl
Co-authored-by: Michael Abbott <[email protected]>
1 parent 44d0e9f commit c01c6c8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/names.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ NamedDims.dim(A::KaNda{L}, name) where {L} = NamedDims.dim(L, name)
1818
Base.axes(A::KaNda{L}, s::Symbol) where {L} = axes(A, NamedDims.dim(L,s))
1919
Base.size(A::KaNda{L,T,N}, s::Symbol) where {T,N,L} = size(A, NamedDims.dim(L,s))
2020

21-
NamedDims.rename(A::KaNda, pairs::Pair{Symbol, Symbol}...) = KeyedArray(rename(parent(A), pairs...), axiskeys(A))
22-
NamedDims.rename(A::KaNda, names) = KeyedArray(rename(parent(A), names), axiskeys(A))
21+
NamedDims.rename(A::KaNda, names...) = KeyedArray(rename(parent(A), names...), axiskeys(A))
2322

2423
# Extra complication to make wrappers commutative:
2524

0 commit comments

Comments
 (0)