Skip to content

Commit c74168f

Browse files
author
Ian Schweer
committed
Fix mypy signature
1 parent 8355fcb commit c74168f

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
@@ -71,8 +71,7 @@ def scalar_loop(steps, *start_and_constants):
7171
return torch.stack(carry), torch.tensor([done])
7272
else:
7373

74-
def scalar_loop(*args):
75-
steps, *start_and_constants = args
74+
def scalar_loop(steps, *start_and_constants):
7675
carry, constants = (
7776
start_and_constants[:state_length],
7877
start_and_constants[state_length:],

0 commit comments

Comments
 (0)