We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf0d632 commit 4690886Copy full SHA for 4690886
1 file changed
src/HeapedVectors.jl
@@ -31,7 +31,7 @@ function heaping(v, by)
31
end
32
33
function floatup!(ar, index, by)
34
- par = convert(Int, floor(index/2))
+ par = div(index, 2)
35
if index <= 1
36
return ar
37
0 commit comments