Skip to content

Commit 5c51d60

Browse files
author
CindeeM
committed
BF: remove [] from call to cost2thresh in format_matrix, as it is not an input to the function
1 parent 7c8998f commit 5c51d60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

brainx/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def format_matrix(data,s,b,lk,co,idc = [],costlist=[],nouptri = False):
2727
"""
2828

2929
cmat = data[b,s]
30-
th = cost2thresh(co,s,b,lk,[],idc,costlist) #get the right threshold
30+
th = cost2thresh(co,s,b,lk,idc,costlist) #get the right threshold
3131

3232
#cmat = replace_diag(cmat) #replace diagonals with zero
3333
cmat = thresholded_arr(cmat,th,fill_val=0)

0 commit comments

Comments
 (0)