Skip to content

Commit

Permalink
Wrong name for non-mutating function
Browse files Browse the repository at this point in the history
  • Loading branch information
projekter committed Jun 2, 2024
1 parent feae5cb commit 954a5d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/QuadSort.jl
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ function trinity_rotation!(array, array_index::Int, swap, swap_index::Int, swap_
end
end

function monobound_binary_first!(array, array_index::Int, value, top::UInt, cmp::F) where {F}
function monobound_binary_first(array, array_index::Int, value, top::UInt, cmp::F) where {F}
@inbounds begin
end_ = array_index + asInt(top)
while top > 1
Expand All @@ -839,7 +839,7 @@ function rotate_merge_block!(array, array_index::Int, swap, swap_index::Int, swa
lblock -= rblock
lblocki = asInt(lblock)

left = monobound_binary_first!(array, array_index + lblocki + rblocki, array[array_index+lblocki], right, cmp)
left = monobound_binary_first(array, array_index + lblocki + rblocki, array[array_index+lblocki], right, cmp)

right -= left

Expand Down

0 comments on commit 954a5d9

Please sign in to comment.