Skip to content

Commit 208ab45

Browse files
authored
Merge pull request #156 from fileds/patch-1
Update KCI.py
2 parents d6d9312 + 081b936 commit 208ab45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

causallearn/utils/KCI/KCI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def null_sample_spectral(self, Kxc, Kyc):
191191
"""
192192
T = Kxc.shape[0]
193193
if T > 1000:
194-
num_eig = np.int(np.floor(T / 2))
194+
num_eig = int(np.floor(T / 2))
195195
else:
196196
num_eig = T
197197
lambdax = eigvalsh(Kxc)

0 commit comments

Comments
 (0)