Skip to content

Commit

Permalink
Remove incorrect code
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 committed Feb 9, 2023
1 parent a11e82e commit 7010e19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/join.jl
Original file line number Diff line number Diff line change
Expand Up @@ -325,11 +325,11 @@ function sort_merge_idx(left::AbstractVector, right::AbstractVector, ::Val{DoLef

@inbounds begin
while (i <= length_left) && (j <= length_right)
if DoLeft && left[i] < right[j]
if left[i] < right[j]
result[k] = left[i]
idx_left[i] = k
i += 1
elseif DoRight && left[i] > right[j]
elseif left[i] > right[j]
result[k] = right[j]
idx_right[j] = k
j += 1
Expand Down

0 comments on commit 7010e19

Please sign in to comment.