diff --git a/pyrad/graphs/modules/ray_sampler.py b/pyrad/graphs/modules/ray_sampler.py index 2306cee70..382b9a85a 100644 --- a/pyrad/graphs/modules/ray_sampler.py +++ b/pyrad/graphs/modules/ray_sampler.py @@ -405,7 +405,6 @@ class NGPSpacedSampler(Sampler): scene_scale, ) total_samples = max(packed_info[:, -1].sum(), 1) - packed_info = packed_info[:total_samples] origins = origins[:total_samples] dirs = dirs[:total_samples] starts = starts[:total_samples]