Skip to content

Commit

Permalink
use ÷ instead of floor
Browse files Browse the repository at this point in the history
  • Loading branch information
guo-yong-zhi committed Apr 20, 2024
1 parent e9b24fb commit b12efba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qtrees.jl
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ function buildqtree!(t::ShiftedQTree, layer=2)
for l in layer:length(t)
m = rshift(t[l - 1])
n = cshift(t[l - 1])
m2 = floor(Int, m / 2)
n2 = floor(Int, n / 2)
m2 = m ÷ 2
n2 = n ÷ 2
setrshift!(t[l], m2)
setcshift!(t[l], n2)
for r in 1:kernelsize(t[l])[1]
Expand Down

0 comments on commit b12efba

Please sign in to comment.