Skip to content

Commit

Permalink
fix number of threads which would compute the final mask
Browse files Browse the repository at this point in the history
  • Loading branch information
true-real-michael committed Apr 14, 2024
1 parent 37d554a commit 132f54a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octreelib/ransac/cuda_ransac.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def kernel(
for i in range(
block_start_indices[block_id] + thread_id,
block_start_indices[block_id] + block_sizes[block_id],
CUDA_THREADS,
cuda.blockDim.x,
):
if measure_distance(best_plane, point_cloud[i]) < threshold:
result_mask[i] = True
Expand Down

0 comments on commit 132f54a

Please sign in to comment.