Skip to content

Commit c8b3d81

Browse files
committed
fixed something
1 parent fb24d6e commit c8b3d81

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

part1/src/ex3_ex4/plane.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ def incremental_convex_hull(self):
112112
break
113113
else:
114114
print ("COLINEAR points in the lower_hull")
115+
return
115116
else:
116117
break
117118
lower_hull.append(self.points[idx])
@@ -129,6 +130,7 @@ def incremental_convex_hull(self):
129130
break
130131
else:
131132
print ("COLINEAR points in the lower_hull")
133+
return
132134
else:
133135
break
134136
upper_hull.append(self.points[idx])

0 commit comments

Comments
 (0)