mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-12 11:37:18 +08:00
Update graham_scan_functions.hpp
This commit is contained in:
@@ -168,7 +168,7 @@ std::vector<Point> convexHull(std::vector<Point> points, uint64_t size) {
|
|||||||
// If modified array of points has less than 3 points, convex hull is not
|
// If modified array of points has less than 3 points, convex hull is not
|
||||||
// possible
|
// possible
|
||||||
if (m < 3) {
|
if (m < 3) {
|
||||||
return {}
|
return {};
|
||||||
};
|
};
|
||||||
|
|
||||||
// Create an empty stack and push first three points to it.
|
// Create an empty stack and push first three points to it.
|
||||||
|
|||||||
Reference in New Issue
Block a user