Skip to content

Commit

Permalink
fix scoping
Browse files Browse the repository at this point in the history
  • Loading branch information
s-m-e committed Dec 29, 2023
1 parent 3baa744 commit d3fd2b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hapsira/core/jit.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def sjit(*args, **kwargs) -> Callable:
outer_func = args[0]
args = tuple()
else:
pass
outer_func = None

if len(args) > 0 and isinstance(args[0], str):
args = _parse_signatures(args[0]), *args[1:]
Expand Down

0 comments on commit d3fd2b3

Please sign in to comment.