Skip to content

Commit

Permalink
Fix inplace prefix_trans
Browse files Browse the repository at this point in the history
  • Loading branch information
liruilong940607 authored Apr 8, 2024
1 parent 32273f8 commit 5cea4fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nerfacc/volrend.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def render_transmittance_from_alpha(
1 - alphas, packed_info=packed_info, indices=ray_indices
)
if prefix_trans is not None:
trans *= prefix_trans
trans = trans * prefix_trans
return trans


Expand Down

0 comments on commit 5cea4fe

Please sign in to comment.