Skip to content

Commit db7ae4d

Browse files
aseyboldtricardoV94
andcommitted
Fix small error in comment
Co-authored-by: Ricardo Vieira <[email protected]>
1 parent 67a5eba commit db7ae4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytensor/link/numba/dispatch/elemwise.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ def transpose(x):
554554

555555
shape_template = (1,) * ndim_new_shape
556556

557-
# When `len(shuffle) == 0`, the `shuffle_shape[j]` expression above is
557+
# When `len(shuffle) == 0`, the `shuffle_shape[j]` expression below
558558
# is typed as `getitem(Tuple(), int)`, which has no implementation
559559
# (since getting an item from an empty sequence doesn't make sense).
560560
# To avoid this compile-time error, we omit the expression altogether.

0 commit comments

Comments
 (0)