Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lloyd/lloyd.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ def get_domains(self, arr):
}


def get_bb_points(self, arr):
def get_bb_points(self):
'''
Given an array of 2D points, return the four vertex bounding box
Given an array of 2D points (specified in self.domains), return the four vertex bounding box
'''
return np.array([
[self.domains['x']['min'], self.domains['y']['min']],
Expand Down Expand Up @@ -177,4 +177,4 @@ def get_points(self):
@returns np.array a numpy array that contains the same number
of observations in the input points, in identical order
'''
return self.points
return self.points