Skip to content

Commit 4690886

Browse files
committed
Fix
1 parent bf0d632 commit 4690886

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/HeapedVectors.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function heaping(v, by)
3131
end
3232

3333
function floatup!(ar, index, by)
34-
par = convert(Int, floor(index/2))
34+
par = div(index, 2)
3535
if index <= 1
3636
return ar
3737
end

0 commit comments

Comments
 (0)