We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 80346fc + 4a083f2 commit 1a27e5cCopy full SHA for 1a27e5c
fast3tree/fof.py
@@ -20,7 +20,7 @@ def find_friends_of_friends(
20
else:
21
group_ids[idx] = i
22
if len(group_ids_this):
23
- group_ids[np.in1d(group_ids, group_ids_this)] = i
+ group_ids[np.isin(group_ids, group_ids_this)] = i
24
if reassign_group_indices:
25
group_ids = np.unique(group_ids, return_inverse=True)[1]
26
return group_ids
fast3tree/version.py
@@ -1 +1 @@
1
-__version__ = "0.4.1"
+__version__ = "0.4.2"
0 commit comments