Skip to content

Commit e5bdedb

Browse files
ricardoV94twiecki
authored andcommitted
Numba scan: fix typo
1 parent 095e3c9 commit e5bdedb

File tree

1 file changed

+2
-4
lines changed
  • pytensor/link/numba/dispatch

1 file changed

+2
-4
lines changed

pytensor/link/numba/dispatch/scan.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,6 @@ def scan({", ".join(outer_in_names)}):
367367
}
368368
global_env["np"] = np
369369

370-
scalar_op_fn = compile_function_src(
371-
scan_op_src, "scan", {**globals(), **global_env}
372-
)
370+
scan_op_fn = compile_function_src(scan_op_src, "scan", {**globals(), **global_env})
373371

374-
return numba_basic.numba_njit(scalar_op_fn)
372+
return numba_basic.numba_njit(scan_op_fn)

0 commit comments

Comments
 (0)