Skip to content

Commit

Permalink
Fix typo and remove debug prints.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaander committed Sep 17, 2024
1 parent 9fb9ce3 commit 8c53af3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions freud/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def compute(self, system, keys=None, neighbors=None):

@_Compute._computed_property
def num_clusters(self):
"""in0t: The number of clusters."""
"""int: The number of clusters."""
return self._cpp_obj.getNumClusters()

@_Compute._computed_property
Expand Down Expand Up @@ -175,8 +175,6 @@ def compute(self, system, cluster_idx, masses=None):
)
if masses is not None:
masses = freud.util._convert_array(masses, shape=(len(masses),))
print(type(self._cpp_obj), type(nq._cpp_obj), type(cluster_idx), type(masses))
print(cluster_idx, cluster_idx.shape, cluster_idx.dtype)
self._cpp_obj.compute(nq._cpp_obj, cluster_idx, masses)
return self

Expand Down

0 comments on commit 8c53af3

Please sign in to comment.