diff --git a/pymatgen/core/surface.py b/pymatgen/core/surface.py index d6b900c4063..bf36eef56b9 100644 --- a/pymatgen/core/surface.py +++ b/pymatgen/core/surface.py @@ -1305,8 +1305,6 @@ def get_z_ranges( z_ranges.extend([(0, z_range[1]), (z_range[0] + 1, 1)]) # Neglect overlapping positions - # TODO (@DanielYang59): use the following for equality check - # elif not isclose(z_range[0], z_range[1], abs_tol=tol): elif z_range[0] != z_range[1]: z_ranges.append(z_range)