Skip to content
Permalink
Browse files

removed unused index variable

  • Loading branch information
mattnedrich committed Dec 2, 2017
1 parent 02cd42f commit c2c5f2cb9cb38070a49bc773dcf1973f3e78fd3f
Showing with 0 additions and 2 deletions.
  1. +0 −2 point_grouper.py
@@ -10,7 +10,6 @@ def group_points(self, points):
group_assignment = []
groups = []
group_index = 0
index = 0
for point in points:
nearest_group_index = self._determine_nearest_group(point, groups)
if nearest_group_index is None:
@@ -21,7 +20,6 @@ def group_points(self, points):
else:
group_assignment.append(nearest_group_index)
groups[nearest_group_index].append(point)
index += 1
return np.array(group_assignment)

def _determine_nearest_group(self, point, groups):

0 comments on commit c2c5f2c

Please sign in to comment.
You can’t perform that action at this time.