From 2cd94c6aa4d614f98c307e92fc59aa14d868ba3b Mon Sep 17 00:00:00 2001 From: Ricardo Vieira Date: Tue, 18 Jul 2023 16:19:44 +0200 Subject: [PATCH] Remove useless kwargs.copy --- pytensor/link/numba/dispatch/basic.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pytensor/link/numba/dispatch/basic.py b/pytensor/link/numba/dispatch/basic.py index 7fe609dce2..b4fae97c09 100644 --- a/pytensor/link/numba/dispatch/basic.py +++ b/pytensor/link/numba/dispatch/basic.py @@ -59,7 +59,6 @@ def global_numba_func(func): def numba_njit(*args, **kwargs): - kwargs = kwargs.copy() kwargs.setdefault("cache", config.numba__cache) if len(args) > 0 and callable(args[0]):