Skip to content

Commit 8bec593

Browse files
ricardoV94twiecki
andauthored
Update pytensor/scan/rewriting.py
Co-authored-by: Thomas Wiecki <thomas.wiecki@gmail.com>
1 parent a6cee04 commit 8bec593

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytensor/scan/rewriting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1344,7 +1344,7 @@ def save_mem_new_scan(fgraph, node):
13441344
else:
13451345
# there is a **gotcha** here ! Namely, scan returns an
13461346
# array that contains the initial state of the output
1347-
# as well. Which means that if y have a initial state of
1347+
# as well. Which means that if y has an initial state of
13481348
# length 3, and you look for 5 steps you get an output
13491349
# y of length 8. If you only use y[:5], this does not
13501350
# mean that you only need to loop for 5 steps but

0 commit comments

Comments
 (0)