Skip to content

Commit d5949e0

Browse files
committed
Fix
1 parent c3a9bcb commit d5949e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/divideandconquer/ConvexHull.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ private ConvexHull() {
105105
* negative if in clockwise order; and 0 if they are collinear.
106106
*/
107107
private static double det(Point a, Point b, Point c) {
108-
return (a.x * b.y + b.x * c.y + c.x * a.y) - (a.y * b.x + b.y * c.x + c.y * a.x);
108+
return a.x * b.y + b.x * c.y + c.x * a.y - (a.y * b.x + b.y * c.x + c.y * a.x);
109109
}
110110

111111
/**

0 commit comments

Comments
 (0)