You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 fileidtxl/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 replacingnp.math.factorial
withmath.factorial
. After this change, the code executed successfully.Hope this makes sense.
The text was updated successfully, but these errors were encountered: