diff options
Diffstat (limited to 'geometry/antipodalPoints.cpp')
| -rw-r--r-- | geometry/antipodalPoints.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/geometry/antipodalPoints.cpp b/geometry/antipodalPoints.cpp index c1921cc..707cf84 100644 --- a/geometry/antipodalPoints.cpp +++ b/geometry/antipodalPoints.cpp @@ -6,7 +6,7 @@ vector<pair<int, int>> antipodalPoints(vector<pt>& h) { while (true) { result.push_back({i, j}); if (cross(h[(i + 1) % n] - h[i], - h[(j + 1) % n] - h[j]) <= 0) break; + h[(j + 1) % n] - h[j]) <= 0) break; j = (j + 1) % n; }} return result; |
