Commit d83cfe9d authored by rusty1s's avatar rusty1s
Browse files

removed a bug that occurred if there were more neighbors than allowed

parent dfe188ab
...@@ -39,7 +39,7 @@ radius_kernel(const scalar_t *__restrict__ x, const scalar_t *__restrict__ y, ...@@ -39,7 +39,7 @@ radius_kernel(const scalar_t *__restrict__ x, const scalar_t *__restrict__ y,
} }
if (count >= max_num_neighbors) { if (count >= max_num_neighbors) {
continue; break;
} }
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment