Skip to content

Commit 73a98d8

Browse files
committed
NaN typo in swarmsplitter.py (Numpy)
1 parent 008ef8f commit 73a98d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kilosort/swarmsplitter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def split(Xd, xtree, tstat, iclust, my_clus, verbose = True, meta = None):
9393
ix2 = np.isin(iclust, my_clus[xtree[kk, 1]])
9494

9595
criterion = 0
96-
score = np.NaN
96+
score = np.nan
9797
if criterion==0:
9898
# first mutation is global modularity
9999
if tstat[kk,0] < 0.2:

0 commit comments

Comments
 (0)