lib/perobs/BigArrayNode.rb in perobs-4.3.0 vs lib/perobs/BigArrayNode.rb in perobs-4.4.0
- old
+ new
@@ -608,10 +608,10 @@
move_last_element_of_predecessor_to_child(child_index)
end
end
end
- # @param index [offset] offset to search the child index for
+ # @param offset [Integer] offset to search the child index for
# @return [Integer] Index of the matching offset or the insert position.
def search_child_index(offset)
# Handle special case for empty offsets list.
return 0 if @offsets.empty? || offset <= @offsets.first