From 606dff17efb156d6e5b1a9c43120f46616403ce8 Mon Sep 17 00:00:00 2001 From: Georg Hess Date: Sat, 9 Nov 2024 01:47:07 +0100 Subject: [PATCH] remove unused code (#482) --- 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