diff --git a/gsplat/relocation.py b/gsplat/relocation.py index 921e4afd..c41a4154 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