Skip to content

Commit 522ef2a

Browse files
author
Pietro Vertechi
committed
accept non Int in TiedIndices
1 parent 4c7fe84 commit 522ef2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sort.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ function Base.permute!(c::StructVector, p::AbstractVector)
1414
return c
1515
end
1616

17-
struct TiedIndices{T<:AbstractVector, U<:AbstractUnitRange}
17+
struct TiedIndices{T<:AbstractVector, I<:Integer, U<:AbstractUnitRange}
1818
vec::T
19-
perm::Vector{Int}
19+
perm::Vector{I}
2020
within::U
2121
end
2222

0 commit comments

Comments
 (0)