summaryrefslogtreecommitdiffstats
path: root/balls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'balls.cpp')
-rw-r--r--balls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/balls.cpp b/balls.cpp
index 2c4ee6b..55dee50 100644
--- a/balls.cpp
+++ b/balls.cpp
@@ -173,7 +173,7 @@ noOverlapCircles(unsigned int n) {
for (i = 0; i < n; i++) {
cout << "Create non-overlapping circle " << i << "\n";
ps[i] = randPtInRect(r);
- for (j = 0; j < i; j++) /* TODO: parallel reduce */
+ for (j = 0; j < i; j++)
if (isCollision(ps[j], RMAX, ps[i], RMAX))
break;
if (j < i) { /* overlapping */