Skip to content

Commit cd72df0

Browse files
Remove unnecessary @inbounds in twoended_merge!
Co-authored-by: Lilith Orion Hafner <[email protected]>
1 parent dad2a2c commit cd72df0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SortingAlgorithms.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ function twoended_merge!(v::AbstractVector{T}, t::AbstractVector{T}, lo::Integer
748748
# copy back from t to v
749749
offset = lo-1
750750
len = 1 + hi - lo
751-
@inbounds for i = 1:len
751+
for i = 1:len
752752
v[offset+i] = t[i]
753753
end
754754
end

0 commit comments

Comments
 (0)