We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc2a29b commit bb17d3dCopy full SHA for bb17d3d
src/sort.jl
@@ -40,8 +40,8 @@ function Base.iterate(n::TiedIndices, i = first(n.within))
40
vec, perm = n.vec, n.perm
41
l = last(n.within)
42
i > l && return nothing
43
- row = vec[perm[i]]
44
- i1 = i
+ @inbounds row = vec[perm[i]]
+ i1 = i+1
45
@inbounds while i1 <= l && isequal(row, vec[perm[i1]])
46
i1 += 1
47
end
0 commit comments