Skip to content

Commit 2a8ba88

Browse files
authored
Fix local variable 'Ci_' referenced before assignment
1 parent 8f8458a commit 2a8ba88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

structural_analysis.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def structural_network_analysis(fname):
5252
#Nestednes
5353
# In-block nestedness with B=1
5454
Cn_=[np.repeat(1, R),np.repeat(1, C)]
55-
max_blockN=max(max(Ci_[0]),max(Ci_[1]))+1
55+
max_blockN=max(max(Cn_[0]),max(Cn_[1]))+1
5656
lambdasN=extremal_bi.call_lambda_i(M,cols_degr,row_degr,Cn_[1],Cn_[0],max_blockN,True)
5757
nestedness_=extremal_bi.calculate_Fitness(M,cols_degr,row_degr,lambdasN[0],lambdasN[1],True)
5858

0 commit comments

Comments
 (0)