Skip to content
Closed
Changes from 5 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
2 changes: 1 addition & 1 deletion src/python/friendzone/utils/unwrap_inputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def _compare_mol_and_point(mol, points):
point_i = points.at(i)

for j in range(3):
if atom_i.coord(j) != point_i.coord(j):
if not (np.isclose(atom_i.coord(j) - point_i.coord(j), 0.0)):
return False

return True
Expand Down
Loading