diff options
| author | MZuenni <michi.zuendorf@gmail.com> | 2023-01-11 11:15:50 +0100 |
|---|---|---|
| committer | MZuenni <michi.zuendorf@gmail.com> | 2023-01-11 11:15:50 +0100 |
| commit | 61cac9c0febbb5440b99e22770d917bf3a63c405 (patch) | |
| tree | 98b7dc3b77ada4cffe5b81daded5516b941f28ec /geometry/antipodalPoints.cpp | |
| parent | fd1f2b36e95c03625297b7b8cba3b1a04a0cc0ed (diff) | |
dont use .size()
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 707cf84..06efd6c 100644 --- a/geometry/antipodalPoints.cpp +++ b/geometry/antipodalPoints.cpp @@ -1,6 +1,6 @@ vector<pair<int, int>> antipodalPoints(vector<pt>& h) { vector<pair<int, int>> result; - int n = (int)h.size(); + int n = sz(h); if (n < 2) return result; for (int i = 0, j = 1; i < j; i++) { while (true) { |
