Skip to content

Commit e4c2b9d

Browse files
author
Ian Schweer
committed
Fix mypy signature
1 parent 2d79d23 commit e4c2b9d

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
@@ -59,8 +59,7 @@ def scalar_loop(steps, *start_and_constants):
5959
return torch.stack(carry), torch.tensor([done])
6060
else:
6161

62-
def scalar_loop(*args):
63-
steps, *start_and_constants = args
62+
def scalar_loop(steps, *start_and_constants):
6463
carry, constants = (
6564
start_and_constants[:state_length],
6665
start_and_constants[state_length:],

0 commit comments

Comments
 (0)