Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
georghess committed Nov 8, 2024
1 parent 36ef2dd commit 8acc585
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions gsplat/relocation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8acc585

Please sign in to comment.