Skip to content

Commit 475fe3a

Browse files
committed
Remove unused code from numba_funcify_ScalarOp
1 parent e427954 commit 475fe3a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pytensor/link/numba/dispatch/scalar.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,23 +67,17 @@ def numba_funcify_ScalarOp(op, node, **kwargs):
6767

6868
cython_func = getattr(scipy.special.cython_special, scalar_func_name, None)
6969
if cython_func is not None:
70-
# try:
7170
scalar_func_numba = wrap_cython_function(
7271
cython_func, output_dtype, input_dtypes
7372
)
7473
has_pyx_skip_dispatch = scalar_func_numba.has_pyx_skip_dispatch
7574
input_inner_dtypes = scalar_func_numba.numpy_arg_dtypes()
7675
output_inner_dtype = scalar_func_numba.numpy_output_dtype()
77-
# except NotImplementedError:
78-
# pass
7976

8077
if scalar_func_numba is None:
8178
scalar_func_numba = generate_fallback_impl(op, node, **kwargs)
8279

8380
scalar_op_fn_name = get_name_for_object(scalar_func_numba)
84-
unique_names = unique_name_generator(
85-
[scalar_op_fn_name, "scalar_func_numba"], suffix_sep="_"
86-
)
8781

8882
global_env = {"scalar_func_numba": scalar_func_numba}
8983

0 commit comments

Comments
 (0)