From d3e3c1198b86f0ad699b16b2ffdc167cbe408e23 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Thu, 10 Oct 2024 18:32:44 -0400 Subject: remove todo --- balls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3