Data update
This commit is contained in:
parent
0df55f9f24
commit
aec8ed51b6
1045 changed files with 18889 additions and 2777 deletions
|
|
@ -16,9 +16,9 @@ function mergesort(arr::Vector)
|
|||
i += 1
|
||||
end
|
||||
if li ≤ length(lpart)
|
||||
copy!(rst, i, lpart, li)
|
||||
copyto!(rst, i, lpart, li)
|
||||
else
|
||||
copy!(rst, i, rpart, ri)
|
||||
copyto!(rst, i, rpart, ri)
|
||||
end
|
||||
return rst
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue