-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Description
When testing IDTxl according to the instructions by running python demos/demo_bivariate_mi.py
after initially installing it via Conda, I encountered an error in the file idtxl/stats.py
. Specifically, line 1535 raised an error:
if np.math.factorial(data.n_replications) > n_perm:
The error message stated that np.math.factorial
does not exist.
To resolve this, I modified the code by importing Python’s built-in math
module and replacing np.math.factorial
with math.factorial
. After this change, the code executed successfully.
Hope this makes sense.
Metadata
Metadata
Assignees
Labels
No labels