diff options
Diffstat (limited to 'geometry/convexHull.cpp')
| -rw-r--r-- | geometry/convexHull.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/geometry/convexHull.cpp b/geometry/convexHull.cpp index 9245acc..b1de170 100644 --- a/geometry/convexHull.cpp +++ b/geometry/convexHull.cpp @@ -1,7 +1,7 @@ vector<pt> convexHull(vector<pt> pts){ sort(all(pts), [](const pt& a, const pt& b){ return real(a) == real(b) ? imag(a) < imag(b) - : real(a) < real(b); + : real(a) < real(b); }); pts.erase(unique(all(pts)), pts.end()); int k = 0; |
