Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:SLECandidates
python-tensorpac
numpy-1.24.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File numpy-1.24.patch of Package python-tensorpac
Index: tensorpac-1.1/tensorpac/gcmi.py =================================================================== --- tensorpac-1.1.orig/tensorpac/gcmi.py +++ tensorpac-1.1/tensorpac/gcmi.py @@ -94,7 +94,7 @@ def nd_mi_gg(x, y): ln2 = np.log(2) if CONFIG['MI_BIASCORRECT']: vec = np.arange(1, nvarxy + 1) - psiterms = psi((ntrl - vec).astype(np.float) / 2.0) / 2.0 + psiterms = psi((ntrl - vec).astype(float) / 2.0) / 2.0 dterm = (ln2 - np.log(ntrl - 1.0)) / 2.0 hx = hx - nvarx * dterm - psiterms[:nvarx].sum() hy = hy - nvary * dterm - psiterms[:nvary].sum()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor