Skip to content
Snippets Groups Projects
Commit bd53f663 authored by Anton Akhmerov's avatar Anton Akhmerov Committed by Christoph Groth
Browse files

fix neighbors

parent e68d8ad4
Branches
Tags
No related merge requests found
......@@ -155,7 +155,7 @@ class Polyatomic(object):
ij_dist = [np.linalg.norm(i(*tag).pos - origin)
for tag in tags]
sites.append((tags, (i, j), ij_dist))
sites.append((tags, (j, i), ij_dist))
max_dist = [i[2][-1] for i in sites]
distances = np.r_[tuple((i[2] for i in sites))]
distances = np.sort(distances)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment