Skip to content

Commit 988723d

Browse files
committed
Triangular sup excluding self pairs
1 parent 10d455c commit 988723d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/spikeinterface/curation/auto_merge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def compute_merge_unit_groups(
197197
sorting_analyzer = sorting_analyzer.copy()
198198

199199
n = unit_ids.size
200-
pair_mask = np.triu(np.arange(n)) > 0
200+
pair_mask = np.triu(np.arange(n), 1) > 0
201201
outs = dict()
202202

203203
for step in steps:

0 commit comments

Comments
 (0)