Skip to content

Commit

Permalink
the original one is correct
Browse files Browse the repository at this point in the history
  • Loading branch information
ipudu committed Mar 12, 2018
1 parent a62aa19 commit 5578d8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions order/avc.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ def polyhedron(self, coords, j, L):
"""find the polyhedron for center molecule"""
vor = Voronoi(coords)
#get the vertices
#points = [vor.vertices[x] for x in vor.regions[vor.point_region[j]] if x != -1]
points = [vor.vertices[x] for x in vor.regions[vor.point_regions[0]]]
points = [vor.vertices[x] for x in vor.regions[vor.point_region[j]] if x != -1]
#points = [vor.vertices[x] for x in vor.regions[vor.point_region[0]]]

return points

Expand Down

0 comments on commit 5578d8c

Please sign in to comment.