Skip to content

Commit 39ff3de

Browse files
author
Ian Schweer
committed
Fix mypy signature
1 parent 2844bc4 commit 39ff3de

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pytensor/link/pytorch/dispatch/scalar.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ def scalar_loop(steps, *start_and_constants):
8383
return torch.stack(carry), torch.tensor([done])
8484
else:
8585

86-
def scalar_loop(*args):
87-
steps, *start_and_constants = args
86+
def scalar_loop(steps, *start_and_constants):
8887
carry, constants = (
8988
start_and_constants[:state_length],
9089
start_and_constants[state_length:],

0 commit comments

Comments
 (0)