diff options
Diffstat (limited to 'geometry/polygon.cpp')
| -rw-r--r-- | geometry/polygon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/geometry/polygon.cpp b/geometry/polygon.cpp index 8acd591..ef70fb5 100644 --- a/geometry/polygon.cpp +++ b/geometry/polygon.cpp @@ -35,7 +35,7 @@ bool inside(pt p, const vector<pt>& hull) { void rotateMin(vector<pt>& hull) { auto mi = min_element(all(hull), [](const pt& a, const pt& b){ return real(a) == real(b) ? imag(a) < imag(b) - : real(a) < real(b); + : real(a) < real(b); }); rotate(hull.begin(), mi, hull.end()); } |
