numpy version
quanganhct opened this issue · comments
In KCI.py
num_eig = np.int(np.floor(T / 2))
raised Attribute Error
AttributeError: module 'numpy' has no attribute 'int'.
np.intwas a deprecated alias for the builtin
int. To avoid this error in existing code, use
intby itself. Doing this will not modify any behavior and is safe. When replacing
np.int, you may wish to use e.g.
np.int64or
np.int32to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
Hi, thanks for reporting. It should have been fixed in PR #156. Could you please try using the latest version and see if that issue remains?