From 6ca270fe35c0e4a343095e02f3fc73df8a119374 Mon Sep 17 00:00:00 2001 From: Alexander Kharin <42934906+Alexankharin@users.noreply.github.com> Date: Mon, 19 May 2025 22:56:05 +0200 Subject: [PATCH] fix small bug --- pointcloud_nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pointcloud_nodes.py b/pointcloud_nodes.py index 42ccad3..0866c0b 100644 --- a/pointcloud_nodes.py +++ b/pointcloud_nodes.py @@ -403,7 +403,7 @@ class ProjectPointCloud: z_back.scatter_reduce_(0, pix, depth, reduce='amax', include_self=True) sel_back = depth == z_back[pix] order_m = torch.where(sel_back, order, -1) - idxbuf.fill(-1) + idxbuf.fill_(-1) idxbuf.scatter_reduce_(0, pix, order_m, reduce='amax', include_self=True) win_back = idxbuf[pix] >= 0