Skip to content

Commit d83cfe9

Browse files
committed
removed a bug that occurred if there were more neighbors than allowed
1 parent dfe188a commit d83cfe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cuda/radius_kernel.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ radius_kernel(const scalar_t *__restrict__ x, const scalar_t *__restrict__ y,
3939
}
4040

4141
if (count >= max_num_neighbors) {
42-
continue;
42+
break;
4343
}
4444
}
4545
}

0 commit comments

Comments
 (0)