Skip to content

Commit 4bb140b

Browse files
authored
fix: njit with args (#137)
1 parent 4ce6a22 commit 4bb140b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

nbs/compat.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
" return new_dec\n",
8585
" \n",
8686
" @_doublewrap\n",
87-
" def njit(f):\n",
87+
" def njit(f, *_args, **_kwargs):\n",
8888
" @wraps(f)\n",
8989
" def wrapper(*args, **kwargs):\n",
9090
" warnings.warn(\n",

settings.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[DEFAULT]
22
repo = utilsforecast
33
lib_name = utilsforecast
4-
version = 0.2.8
4+
version = 0.2.9
55
min_python = 3.8
66
license = apache2
77
black_formatting = True

utilsforecast/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.2.8"
1+
__version__ = "0.2.9"

utilsforecast/compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def new_dec(*args, **kwargs):
6161
return new_dec
6262

6363
@_doublewrap
64-
def njit(f):
64+
def njit(f, *_args, **_kwargs):
6565
@wraps(f)
6666
def wrapper(*args, **kwargs):
6767
warnings.warn(

0 commit comments

Comments
 (0)