Skip to content

Commit eb98809

Browse files
committed
.Swap or arguments to check it segfault reliably on CI
1 parent f3ad19a commit eb98809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytensor/link/numba/dispatch/elemwise_codegen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ def compute_itershape(
3737
):
3838
with builder.if_else(
3939
builder.or_(
40-
builder.icmp_unsigned("==", length, one),
4140
builder.icmp_unsigned("==", shape[i], one),
41+
builder.icmp_unsigned("==", length, one),
4242
)
4343
) as (
4444
then,

0 commit comments

Comments
 (0)