Skip to content

Commit 59f8511

Browse files
committed
Put it on one line now
1 parent d2e700a commit 59f8511

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

content/geometry/onSegment.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@
1111
#include "Point.h"
1212

1313
template <class P> bool onSegment(P s, P e, P p) {
14-
return s.cross(e, p) == 0 &&
15-
(s - p).dot(e - p) <= 0;
14+
return s.cross(e, p) == 0 && (s - p).dot(e - p) <= 0;
1615
}

0 commit comments

Comments
 (0)