From b12efba2b29975a1d973b23146f27f1d96be94bf Mon Sep 17 00:00:00 2001 From: guo-yong-zhi <55872791+guo-yong-zhi@users.noreply.github.com> Date: Sat, 20 Apr 2024 13:31:59 +0800 Subject: [PATCH] =?UTF-8?q?use=20`=C3=B7`=20instead=20of=20`floor`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/qtrees.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qtrees.jl b/src/qtrees.jl index dd76bae..50271fc 100644 --- a/src/qtrees.jl +++ b/src/qtrees.jl @@ -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]