From 8acc585db3722622063fcdc99f01e62747396d1b Mon Sep 17 00:00:00 2001 From: Georg Hess Date: Fri, 8 Nov 2024 19:34:23 +0100 Subject: [PATCH] remove unused code --- gsplat/relocation.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gsplat/relocation.py b/gsplat/relocation.py index 921e4afd9..c41a4154a 100644 --- a/gsplat/relocation.py +++ b/gsplat/relocation.py @@ -34,12 +34,6 @@ def compute_relocation( **new_scales**: The scales of the Gaussians. [N, 3] """ - N_MAX = 51 - BINOMS = torch.zeros((N_MAX, N_MAX), device=opacities.device) - for n in range(N_MAX): - for k in range(n + 1): - BINOMS[n, k] = math.comb(n, k) - N = opacities.shape[0] n_max, _ = binoms.shape assert scales.shape == (N, 3), scales.shape