Created
January 7, 2025 01:29
-
-
Save Axect/07c09437f11da887cdd59cccbcd3e004 to your computer and use it in GitHub Desktop.
Patch for _numba_utils.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Replace last lines of clifford/_numba_utils.py | |
def generated_jit(f=None, **kwargs): | |
if f is None: | |
return _fake_generated_jit | |
else: | |
return _fake_generated_jit(f) | |
if not DISABLE_JIT: | |
njit = numba.njit | |
else: | |
def njit(f=None, **kwargs): | |
if f is None: | |
return pickleable_function | |
else: | |
return pickleable_function(f) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment